POST Method with WEB Component

,

Hello,

I’m having hard time to implement POST API call using the WEB component.
Tried a lot of solutions posted on this community, but non of them worked for me.

In my case I have some endpoint http://example.com/api/login that requires two URL parameters: email and password.
My main problem is that when I send the request using the blocks on the picture below, my backend does not receive any of these.

This is how mu request should look: http://example.com/api/[email protected]&password=notTellingYou123. This url is tested using POSTMAN using the POST method and it works.

:thinking:

I deleted the post…

🤷

Yes I tried to include headers as well, but no luck.
I know because I developed the backend as well so I was able to debug.

The solution was very simple actually. All I did is included the parameters in the URL it self, and send empty string using the Post Text block.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.