Renault: add content type (#14645)

This commit is contained in:
andig 2024-06-30 20:15:34 +02:00 • committed by GitHub
parent 391fadd612
commit eed5310d33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,6 +39,7 @@ func New(log *util.Logger, keys keys.ConfigServer, identity *gigya.Identity, log
func (v *API) request_(uri string, body io.Reader) (Response, error) {
params := url.Values{"country": []string{"DE"}}
headers := map[string]string{
"content-type": "application/vnd.api+json",
"x-gigya-id_token": v.identity.Token,
"apikey": v.keys.APIKey,
}