Hi,
Im trying to access the signed api on a production account and get an invalid signature response. Im using postman to simulate the call. Thanks for your help
Here is the raw request
GET /api/account/P54700896?v=1&appKey=b247a4b3f70d40ea99046a995fb42766&oauth_consumer_key=b247a4b3f70d40ea99046a995fb42766&oauth_token=7afdc5f6ea90424eb0e0f409c4c60b13&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1350990756&oauth_nonce=BW7UVd&oauth_version=1.0&oauth_signature=moDHST+cHcjpuWg8jrfFTRvjNJs= HTTP/1.1
Host: api.liveperson.net
Connection: keep-alive
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4
accept: application/json
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Response
HTTP/1.1 302 Moved Temporarily | |
Date | Tue, 23 Oct 2012 11:12:39 GMT |
Server | Apache |
X-Powered-By | Servlet 2.5; JBoss-5.0/JBossWeb-2.1 |
Location | https://dev.liveperson.net/api/account/P54700896?v=1&appKey=b247a4b3f70d40ea99046a995fb42766&oauth_consumer_key=b247a4b3f70d40ea99046a995fb42766&oauth_token=7afdc5f6ea90424eb0e0f409c4c60b13&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1350990756&oauth_nonce=BW7UVd&oauth_version=1.0&oauth_signature=moDHST+cHcjpuWg8jrfFTRvjNJs= |
Content-Length | 0 |
Keep-Alive | timeout=5, max=100 |
Connection | Keep-Alive |
Content-Type | text/plain |
The response of the redirected request.
HTTP/1.1 401 Unauthorized
Date: Tue, 23 Oct 2012 11:12:39 GMT
Server: Microsoft-IIS/6.0
WWW-Authenticate: Basic realm="dev.liveperson.net"
P3P: CP="NON BUS INT NAV COM ADM CON CUR IVA IVD OTP PSA PSD TEL SAM"
X-Powered-By: ASP.NET
Content-Type: application/json
Content-Length: 164
{"error":{"time":"2012-10-23T07:12:39.274-04:00","message":"oauth_problem=signature_invalid&oauth_problem_advice=the oauth_signature is invalid","internalCode":10}}