Skip to content

Call failing because "Charset=UTF-8" appended to Content-Type header #428

Open
@joyfullservice

Description

@joyfullservice

I am building an integration to a MIVA webstore and was baffled by why the API calls were not working from VBA-Web, but the identical call worked just fine from VSCode rest client.

After tracing the call in fiddler, I discovered the problem. For some reason the calls made through VBA-Web are changing the Content-Type header from application/json to application/json; Charset=UTF-8. The endpoint that I am calling is expecting exactly application/json, so it returns a failure base on the "wrong content type".

image

Why would it be appending the charset parameter, and how can I prevent it from doing so?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions