Discussions

Ask a Question
Back to All

HTTP400 with /router/api/v1/user/devices

I might be missing something, but I struggle to get the basic connection right:

juergen@pi4-pios-nas:~/projects/2024-11-19_govee-api $ curl -v --http1.1 --get -H "Content-Type: application/json" -H "Host: https://openapi.api.govee.com" --data "Govee-API-Key=${govee_api_key}" https://openapi.api.govee.com/router/api/v1/user/devices

GET /router/api/v1/user/devices?Govee-API-Key=${goveeapi_key} HTTP/1.1
Host: https://openapi.api.govee.com
User-Agent: curl/7.74.0
Accept:
/_
Content-Type: application/json

  • Mark bundle as not supporting multiuse
    < HTTP/1.1 400 Bad Request
    < Server: awselb/2.0
    < Date: Tue, 19 Nov 2024 12:00:02 GMT
    < Content-Type: text/html
    < Content-Length: 122
    < Connection: close
    < 400 Bad Request

    400 Bad Request

Any help is greatly appreciated!

Cheers, Jürgen.