Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Getting Data From POST API with JSON Body

Hello,   I'm very new to working with Power Query when it comes to integrating with APIs. We have a platform that we use for which we're trying to get data from their API.   I've looked at some o...
  • Anonymous's avatar
    Anonymous
    5 years ago

    Anonymous 

    I see no problem with code, the 400 bad request can be caused by different reason. It is hard to identify in this one. How to Fix a 400 Bad Request Error [Causes & Fixes] (kinsta.com)

     

    There is a similar blog providing details about how to connect to REST API via OAuth2 in Power BI, you can following the instructions in this blog to connect to your data source.

    If you still get error, you can use Fiddler to track like the post owner did in the link you provided.

    Fiddler (Web Tracing) - YouTube

     

    Paul Zheng _ Community Support Team
    If this post helps, please Accept it as the solution to help the other members find it more quickly.


    If you still get error, you can use Fiddler to track the process following the guide in this video.