Skip to content

400 error but curl gets 200? #1164

Open
@KaushikDuddala

Description

@KaushikDuddala

just tried installing the app but i've been met with 400 errors no matter how much research or changing i do.

heres the data for my request that works and gets a 200:

POST /api/user/login HTTP/1.1
Host: auth-prod.api.wyze.com
Keyid: {KEY_ID}
Apikey: {API_KEY}
Content-Type: application/json
Content-Length: 90

{
 "email":"{EMAIL}",
 "password": "md5(md5(md5({PASSWORD)))"
}

heres what i get when i run the program

image

and trying it through the webui just gives me a 400 with invalid username.

heres my config:

image

please help!! any help is appreciated thanks!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions