Forum Discussion

ankitgaur's avatar
ankitgaur
Visitor
9 years ago

How to send body part in http “POST” method ?

We have developed one Roku web app and we want to add the functionality to Make forget password of user for which we want to make a POST api call. User Provides his login username which we want to pass as body part of POST api call. Api is designed to take calling parameters in the body part.

We have tested the Api on POSTMAN providing username in the body part and it works.
We want to make API call Containing body part with post method.
API link is "http://ec2-54-244-62-69.us-west-2.compute.amazonaws.com/v1/users/auth/password/reset/
Email is a any valid email address.
How to pass Body in the POST Api ?
  • I really hope you're not seriously considering passing users' credentials in clear text over an unencrypted http connection!
  • Hi Belltown,
    Thanks for the reply.

    This scenario is just for testing purpose.