Forum Discussion
Error in getting POST request in an API
- 6 years ago
You could simply using different code.
This first example you've posted contained wrong brackets.
Why is that?
Could it be that JSON you've been using in Postman has different nesting structure?
Must your -1 be a text instead of a number?
Honestly, I've been there a couple of times to recognize that a simple typo is throwing things off.
Very had to believe that Power Query is the issue here.
Pretty sure that there is a difference in the code you've used in both versions.
Checking with Fiddler is the way to go forward if you cannot spot it by code analysis.
Hi ImkeF
What will be the difference with the Fiddler?
In Postman, I just use Post method and the URL and then the body.
It throws the data from the database.
Not sure what will be the difference in it.