Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Browser and Python (command line) API responses do not match (with example)

Emily Kern January 29, 2019

I'm using Python and requests/json libraries to use the Confluence API. The most explicit example I can provide for the API responses not matching is:
https://mybaselink.com/rest/api/content/theexactpageid

Submitting that request in the browser yields a json object with relevant information. Submitting it using Python (used command line to run the code) yielded a 404 response. My best guess is that I hit a limit of sorts. But I never specified a limit in the browser, so both API queries should yield the same json object, right?

 

Sidenote: I asked this in a Developer thread, so apologies for this being a duplicate. That said, I think this is the more appropriate area to ask.

Thanks!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events