You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm using opendtu for my project, and when using the API, it seems to require POST data with form-encoded data having one only parameter named "data", with a json encoded value. At least, this is true for POST /api/limit/config.
Here comes the question: why not supporting direct json encoded data when finding the header field "Content-Type: application/json" ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm using opendtu for my project, and when using the API, it seems to require POST data with form-encoded data having one only parameter named "data", with a json encoded value. At least, this is true for POST /api/limit/config.
Here comes the question: why not supporting direct json encoded data when finding the header field "Content-Type: application/json" ?
Beta Was this translation helpful? Give feedback.
All reactions