400 or 401 responde with custom header #468

Closed
opened 2026-02-28 01:47:33 -05:00 by deekerman · 1 comment
Owner

Originally created by @rubengargar on GitHub (Oct 25, 2021).

Is it a duplicated question?
No

Describe your problem
Hi. First of all, tremendous software!
I'm trying to integrate Shelly devices via their REST API but I can't figure how to set the body/headers properly. I can gen the proper response from Postman or resttesttest.com but not in Kuma. Maybe a silly formatting error?

image
image

meanwhile in Kuma:
image

I've used the merge #529 but I can't figure what it is wrong.

Info
Uptime Kuma Version: 1.9.1
Using Docker?: Yes
Docker Version: stable
Node.js Version (Without Docker only):
OS: Unraid 6.9.2
Browser: Edge 94.0.992.50

Originally created by @rubengargar on GitHub (Oct 25, 2021). **Is it a duplicated question?** No **Describe your problem** Hi. First of all, tremendous software! I'm trying to integrate [Shelly](https://shelly.cloud/documents/developers/shelly_cloud_api_access.pdf) devices via their REST API but I can't figure how to set the body/headers properly. I can gen the proper response from Postman or [resttesttest.com](https://resttesttest.com/) but not in Kuma. Maybe a silly formatting error? ![image](https://user-images.githubusercontent.com/22755963/138732107-d300339e-b119-414b-8dcc-f4ddca865b22.png) ![image](https://user-images.githubusercontent.com/22755963/138732291-a1b0e02f-b1f6-4251-b839-3a0be195cdfa.png) meanwhile in Kuma: ![image](https://user-images.githubusercontent.com/22755963/138732389-19086c31-1895-47a2-8c1c-759e3bcc0655.png) I've used the merge #529 but I can't figure what it is wrong. **Info** Uptime Kuma Version: 1.9.1 Using Docker?: Yes Docker Version: stable Node.js Version (Without Docker only): OS: Unraid 6.9.2 Browser: Edge 94.0.992.50
deekerman 2026-02-28 01:47:33 -05:00
  • closed this issue
  • added the
    help
    label
Author
Owner

@louislam commented on GitHub (Oct 25, 2021):

It only accept JSON body currently. Multipart or FormData are not supported.

Feel free to create an enhancement request.

@louislam commented on GitHub (Oct 25, 2021): It only accept JSON body currently. Multipart or FormData are not supported. Feel free to create an enhancement request.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/uptime-kuma#468
No description provided.