Reputation: 9610
I'm used to using Fiddler, so am probably missing something simple, however... I need to create a scheduled job in Azure to POST to an API monthly. Everything goes well until I try to enter the BODY content:
When Azure tries to create the job, it returns an error and fails to create it:
At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details. (Code: DeploymentFailed)
Content-Type must be provided with body (Code: BadRequest)
I can't figure out what's wrong, as clearly the Content-Type is there. Can anyone help me please?
Upvotes: 0
Views: 888
Reputation: 9610
User error 101. Content-Type: application/json
should be applied as a header, and not in the body structure:
Thank you to @Jack Zeng for his comment.
Upvotes: 4