Commit b8761286 authored by William Sellitti's avatar William Sellitti
Browse files

forced content-type to json

parent c0da8015
......@@ -119,6 +119,6 @@ HEREDOC
# Push certificates to server.
export _HTTPS_INSECURE=1
export _H1="Authorization: PVEAPIToken=${_proxmoxve_header_api_token}"
_post "$_json_payload" "$_target_url"
_post "$_json_payload" "$_target_url" "" POST "application/json"
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment