Moh
Moh

Reputation: 259

By sending HTTP POST request to another site, how to receive the result of the request?

By sending HTTP POST request to another site, a value is generated and printed out. How to obtain the value?

For examole, http://www.twiddla.com/new.aspx accepts HTTP POST requests from my website containing my Twiddla username. Like I've written this code on my site,

<form action="http://www.twiddla.com/new.aspx" method="post">
<input type="text" id="username" name="username">
<input type="submit" value="Create Meeting">

By submitting the form, the page is redirected to twiddla.com/new.aspx and in that page, a numeric ID is printed out. How can my website obtain the ID and save it in database?

Upvotes: 0

Views: 1692

Answers (1)

wbiller
wbiller

Reputation: 11

you can do one of this:

  • use a callback (has to be provided by the other website)
  • use php or any other language to connect to the service.

Upvotes: 1

Related Questions