Wednesday 17 May 2017

Filling in POST parameter variables into a route

I'm currently attempting to make a POST request in Node.js for a GroupMe bot to a route that looks like this:

/groups/:group_id/members/:membership_id/remove

where the hostname = api.groupme.com

Given that I have the group_id and membership_id saved in two integer variables, how would I make a HTTP POST request to that route?

Thanks in advance!



via Ted

No comments:

Post a Comment