Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Trying to get accestoken:
- POST /rs/shops/PMAppReview/token HTTP/1.1
- Content-Type: application/x-www-form-urlencoded
- Host: sandbox.epages.com
- Connection: close
- User-Agent: Paw/2.2.9 (Macintosh; OS X/10.11.0) GCDHTTPRequest
- Content-Length: 131
- code=rkPHrw54OSzKpiBWphK415WszGFMewCy&client_id=C1B03F81-FEED-4BF6-A801-C2DDDE0AC857&client_secret=XW5egIAezSzn7V14zUXnxsbPaTNowoTX
- //Response:
- HTTP/1.1 200 OK
- Server: nginx
- Date: Tue, 09 Feb 2016 17:31:13 GMT
- Content-Type: application/json
- Content-Length: 51
- Connection: close
- Access-Control-Allow-Origin: *
- X-ePages-Media-Type: application/vnd.epages.v1+json
- X-Powered-By: ePagesJ(6.17.38)
- Vary: Accept-Encoding,User-Agent
- {"access_token":"EIGHfD2cMacFtXI9Vz4aXua3aVLT1lRy"}
- //Trying to sync products
- GET /rs/shops/PMAppReview/products?page=1&resultsPerPage=50¤cy=EUR&locale=nl_NL HTTP/1.1
- Authorization: Bearer EIGHfD2cMacFtXI9Vz4aXua3aVLT1lRy
- Content-Type: application/x-www-form-urlencoded
- Host: sandbox.epages.com
- Connection: close
- User-Agent: Paw/2.2.9 (Macintosh; OS X/10.11.0) GCDHTTPRequest
- //Response
- HTTP/1.1 400 Bad Request
- Server: nginx
- Date: Tue, 09 Feb 2016 17:36:49 GMT
- Content-Type: application/json
- Content-Length: 138
- Connection: close
- Access-Control-Allow-Origin: *
- X-Powered-By: ePagesJ(6.17.38)
- X-RateLimit-Reset: 2016-02-09T18:36:49.730Z
- X-RateLimit-Limit: 6000
- X-RateLimit-Remaining: 5999
- Vary: Accept-Encoding,User-Agent
- {"message":"Locale [nl_NL] not available. Available locales: [de_DE], Request: GET /rs/shops/PMAppReview/products","status":"Bad Request"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement