The propoer header regarding json content type is Content-Type, not ContentType

master
Rene Luria 2020-09-18 15:24:04 +02:00
parent d94de8890a
commit f76e046a94
1 changed files with 1 additions and 1 deletions

@ -193,7 +193,7 @@ Your HTTP method call may require additional headers for Authorization, ContentT
mycredentials="$(printf "%s" "$myusername:$mypassword" | _base64)" mycredentials="$(printf "%s" "$myusername:$mypassword" | _base64)"
export _H1="Authorization: Basic $mycredentials" export _H1="Authorization: Basic $mycredentials"
export _H2="ContentType: application/json" export _H2="Content-Type: application/json"
... ...
``` ```