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

[device] websocket token returns mimetype and or wrong encoding #12

Open
jonau opened this issue Jan 6, 2023 · 1 comment
Open

[device] websocket token returns mimetype and or wrong encoding #12

jonau opened this issue Jan 6, 2023 · 1 comment
Assignees

Comments

@jonau
Copy link
Contributor

jonau commented Jan 6, 2023

Python clients responds with message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('http://localhost/devices/ef416742-5c7c-42e4-8176-df8a7bf051eb/websocket')

According to the API the response should be:

    200:
      description: The newly generated websocket token for the device.
      content:
        application/json:
          schema:
            type: string
@jonau
Copy link
Contributor Author

jonau commented May 8, 2023

Test anlegen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants