In Confluence 7.13.7, my API calls are unexpectedly returning HTML content rather than JSON. I've checked my request headers and ensured Accept: application/json
is included. Is there a known issue or configuration setting I might be missing that could cause this behavior?
I have the same issue. Any updates?
Dear @Goonawardanar_R_N_W ,
before you proceed, I strongly recommend to upgrade to at least 7.19.x.
Nevertheless have you tried to copy & paste the REST GET call to a browser tab? Does it return also HTML instead of JSON?
Have you tried another REST client or browser extension?
Have you tried
https://example.com/rest/api/content/{id}
instead of
https://example.com/confluence/rest/api/content/{id}
https://docs.atlassian.com/ConfluenceServer/rest/7.13.7/#api/content-getContent
Cya
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.