-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Piwigo API returns wrong mediatype #1847
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using format=json on the api, the wrong mediatype is returned.
This causes a problem when using different frameworks in java since automatic decoding is not supported.
For example the following code snippet will return an exception:
Will send a request url:
https://<hostname>/ws.php?format=json&method=pwg.images.getInfo&image_id=339
And result in an exception:
The text was updated successfully, but these errors were encountered: