Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

Bad Request Creating API #121

Open
adminnz opened this issue Feb 28, 2022 · 2 comments
Open

Bad Request Creating API #121

adminnz opened this issue Feb 28, 2022 · 2 comments

Comments

@adminnz
Copy link

adminnz commented Feb 28, 2022

Looking at the code it appears that the Request body for creating/updating an API does not match what the Microsoft API Management api is expecting.
Azure Create or Update Documentation
Specifically the request body has:
{ "properties": { "format": "<format type>, "value": "<specification value or url>" } }
But it looks like the requests this extension is building have:
{ "properties": { "contentFormat": "<format type>, "contentValue": "<specification value or url>" } }
Which are not supported and causing the Bad Request (tested via Postman).

@andreptcosta
Copy link

same thing issue here

@danielfebres1992
Copy link

same here

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants