Support

Home Forums Event Espresso Premium EE3 JSON API gives 200, but no body

EE3 JSON API gives 200, but no body

Posted: May 19, 2017 at 12:25 pm


Lou

May 19, 2017 at 12:25 pm

Hello,

I’m building a small application to manage our companies data from event espresso and other sources. I’m having trouble with authentication when I send the get version of the API. If it’s sent directly from chrome or postman, then it functions correctly returning a JSON object with the token in it. However, if I send the exact same request from within my application using the python requests library, I receive 200 but no body. Strangely, if I send the same get request in Edge browser for comparison, I also don’t get any errors, but no body.

I’ve used the methods that work to get the token to try and hard-code a non-expiring token for calls since this won’t be a public tool. However, I have the same problem with those calls. Sent from Postman, or chrome I get the json response, sent from within my application (Python Requests), I get a 200, but no body.

I’m using EE3 3.1.37.11.P
API plugin 2.1.4.P
My application is running locally, so requests are coming from the same IP.

Any help as to why this might be happening would be very helpful.


Josh

  • Support Staff

May 19, 2017 at 4:56 pm

You could try putting the EE3 JSON API plugin (Event Espresso > API Settings) into API Debug mode and that may result in some notifications about what went wrong with the request.

The support post ‘EE3 JSON API gives 200, but no body’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 2 years, 6 months ago ago

Topic Tags

Tagged: ,

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!