cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rubengonzalez
Frequent Visitor

Http Request Error

Hi, im trying to create an Http Request.

I am using it on postman and works perfectly right. Im only adding on body username and password. 

rubengonzalez_0-1634078221178.png

When I try to execute it on Power Automate "exactly the same" it returns me an error

rubengonzalez_1-1634078305298.png

<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 415 Unsupported Media Type</title>
</head>
<body><h2>HTTP ERROR 415</h2>
<p>Problem accessing /api/jwt/login. Reason:
<pre> Unsupported Media Type</pre></p>
</body>
</html>

 

 

2 REPLIES 2
Mira_Ghaly
Dual Super User
Dual Super User

@rubengonzalez 

I can see you aren't adding headers , can you try to add them the same way as in post man?

 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here
rubengonzalez
Frequent Visitor

On postman I didnt added headers, they added automaticaly after I execute the API. However, I already tried with headers but when I execute it, the API goes to an infinite loop retrying it

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (2,975)