Jump to content

Webservice - XML works, but not JSON?


schiggi

Recommended Posts

Hi there,

 

I am trying to get the API service running. It is working fine and I receive correct XML responses, if I call http://[email protected]/api

 

I need a JSON respones, though. So I added a paramter to the url (i.e. http://[email protected]/api?output_format=JSON ). Strangly enough, now I am getting an empty body response. Response header shows a 200OK code, so it was received.

 

Any ideas, why it will not work?

 

Thanks.

Link to comment
Share on other sites

  • 5 months later...

these are my screenshot of the result when I'm calling the webservice for the customers.

 

 

 

Hello there as I see from the url you are using there is the token missing! 

 

the url should be like: 

www.cimminob2b.com/api/customers?ws_key=TOKEN
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...