I am working on a ruby gem which works with the current REST api. I am able to generate a session key without issue but once I have the session key, any attempt at another request returns me a 403 Forbidden.
I am sending every header that is documented in the API docs and replaced the session key with the one I generated. Here are my headers:
{
"Accept":"*/*",
"DNT":1,
"Referrer":"http://myserver.com/welcome.htm",
"Accept_Encoding":"gzip,deflate,sdch",
"Accept-Language":"en-US;en;q=0.8",
"Cookie":"acct_table#pageNavPos=1; session=MYSESSIONKEY"
}
Can someone help me understand what I might be doing wrong?
Thanks!
Eric