SpRestLib
SpRestLib copied to clipboard
New issue with Response Header...
-Type: application/atom+xml;type=feed;charset=utf-8
Perhaps in an afront to my sanity, one of the sharepoint servers I am querying, despite requesting a JSON response, seems to be returning application/atom+xml.
I am certain when I ran the exact code about 4 weeks ago it was working, so I am assuming something may have changed in the server configuration that I wasn't aware of. It looks like the data is still being returned if I look at the raw response data, , but I am guessing SPRestLib isn't parsing it anymore..
Has anyone dealt with something similar to this?
Hi @dgutman
What API method are you using and what's the version of SpRestLib?
Are you adding the content-type
yourself in the headers?
Are no results being returned, eg: an empty array?