Skip to content
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

updateDeviceTokenWithDeviceId API not working due to wrong request content type #1

Open
vaibhav3002 opened this issue Apr 6, 2017 · 1 comment
Labels

Comments

@vaibhav3002
Copy link

The API updateDeviceTokenWithDeviceId does not work due to wrong content type requested (text/plain) instead of (application/json).

File - ACDevicesApi.m, Line - 635

@yujingwu
Copy link
Member

yujingwu commented Apr 6, 2017

Thank for notify us about this bug.

Requires an upstream fix to our swagger definition which incorrectly marks endpoint as consuming a body and sets wrong content-type. Note that PUT /devices/:deviceId/tokens should only require a path parameter (ie: deviceId).

Before the next version is available, please manually change the source code of SDK

@yujingwu yujingwu added the bug label Apr 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants