Forum Discussion
gilbertendaya
Helper IV
6 years agoError in getting POST request in an API
Hi, Need your help with my issue in Power BI. Here is the M-Script let url = URL, body = "{""limit"": -1,""sort"": {""option"": ""ASC"",""field"": [""FlightDate""},""parameters"": [{}],""r...
- 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.
gilbertendaya
Helper IV
6 years agogilbertendaya
Helper IV
6 years agoWhat I'm trying to achieve here is to retrieve the data from DynamoDB based on the URL and the body that I have that contains the date range.