ankitgaur
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2017
05:51 AM
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 ?
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 ?
3 REPLIES 3
belltown
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2017
10:17 AM
Re: How to send body part in http “POST” method ?
I really hope you're not seriously considering passing users' credentials in clear text over an unencrypted http connection!
ankitgaur
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2017
11:48 PM
Re: How to send body part in http “POST” method ?
Hi Belltown,
Thanks for the reply.
This scenario is just for testing purpose.
Thanks for the reply.
This scenario is just for testing purpose.
EnTerr
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2017
06:59 PM
Re: How to send body part in http “POST” method ?
I would have thought POSTing a "body part" is illegal :shock:
- but no, turns out it's okay as long as it's an "exempt specimen", see postal service's regulation on that: http://pe.usps.com/text/pub52/pub52apxc_024.htm
- but no, turns out it's okay as long as it's an "exempt specimen", see postal service's regulation on that: http://pe.usps.com/text/pub52/pub52apxc_024.htm