Debugging mode has been added since SDK 1.0.3 to print API call request message and response message.
To use debugging mode, "true" value should be additionally sent to third parameter as shown in below code example.
(To not use debugging mode, only send the two parameters as before or set the third parameter as "false".)
CoupangMarketPlaceApi apiInstance = new CoupangMarketPlaceApi(SECRET_KEY,ACCESS_KEY, true);
Below are examples of request message and response message.
Request message example:
POST /v2/providers/seller_api/apis/api/v1/marketplace/seller-products HTTP/1.1
X-Requested-By: A00013264
Authorization: CEA algorithm=HmacSHA256, access-key=생략
Content-Type: application/json
User-Agent: Swagger-Codegen/1.0.0/java
X-SDK-VERSION: 1.0.3
{”vendorId”:”A00013264”,... omit ...}
Response message example:
HTTP/1.1 200 OK (409ms)
Content-Type: application/json;charset=UTF-8
Server: nginx
Vary: Accept-Encoding
X-UA-Compatible: IE=edge
Date: Fri, 14 Jun 2019 06:41:29 GMT
Connection: keep-alive
OkHttp-Selected-Protocol: http/1.1
OkHttp-Sent-Millis: 1560494488669
OkHttp-Received-Millis: 1560494489077
{“code”:”SUCCESS”,”message”:””,”data”:815664789}
Please use this feature to print request and response messages for inquiries regarding API calls using SDK so that we can provide better and prompt support.