Forum Discussion

ankitkalsara's avatar
ankitkalsara
Icon for Helper I rankHelper I
4 years ago
Solved

Unable to perform POST call on URL

Hi team,

 

I am trying to perform POST call on URL from PowerQuery and it keeps giving an error.

The call works fine in Postman but not in PowerQuery.

 

I wrote a function to call the URL as below

And I am calling the function with another query.

 

But it keeps giving below error.

 

The privacy level is set to Anonymous and Public.

 

Any idea how to fix the error?

  • Hi all,

     

    The issue is resolved now, I had to pass the Content as Text.ToBinary() instead of Json.FromValue()

1 Reply

  • Hi all,

     

    The issue is resolved now, I had to pass the Content as Text.ToBinary() instead of Json.FromValue()