Jump to content

Upload image: can't get JSON response


Lluiso

Recommended Posts

When I successfully upload an image using PS webservice ('POST' myshop.com/api/images/products) the response is the image itself. I would like to have a JSON response so that I can use the image ID.
I have tried to add `output_format=JSON` to the query string and adding the "Accept: application/json" header, to no avail.

Is there a way to have a JSON response when uploading an image?

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...