1 hour ago, tinkergnome said:
What about adding the acquired digest authorization to you first command?
Something like this should work with 'curl':
curl -X [...] --digest --user YOUR_ID:YOUR_KEY [...]curl -X PUT --header "Content-Type: application/json" --header "Accept: application/json" --digest --user "4f788954582aa8b80c591bae53a6a0a4":"96c4f972838de37f2f4f14a4bbfc4a9f77ed265ffbb1b80796c3cdd41daa5b39" -d "{\"message":"How are you?",\"button_caption":"Okay"\}" "http://192.168.1.38/api/v1/system/display_message"
😴
Now it's giving the error saying {"message": "400 Bad Request"}
Recommended Posts
tinkergnome 926
What about adding the acquired digest authorization to you first command?
Something like this should work with 'curl':
Link to post
Share on other sites