forced content-type to json

This commit is contained in:
William Sellitti 2022-06-19 01:46:10 -04:00
parent c0da801580
commit b876128635

View File

@ -119,6 +119,6 @@ HEREDOC
# Push certificates to server. # Push certificates to server.
export _HTTPS_INSECURE=1 export _HTTPS_INSECURE=1
export _H1="Authorization: PVEAPIToken=${_proxmoxve_header_api_token}" export _H1="Authorization: PVEAPIToken=${_proxmoxve_header_api_token}"
_post "$_json_payload" "$_target_url" _post "$_json_payload" "$_target_url" "" POST "application/json"
} }