Initiate a Post request from a form with paylod in the Body request
Posted
by
Martin Böschen
on Stack Overflow
See other posts from Stack Overflow
or by Martin Böschen
Published on 2014-08-23T16:00:23Z
Indexed on
2014/08/23
16:20 UTC
Read the original article
Hit count: 172
JavaScript
|html
I have the following problem. I have a webservice, which accepts a post request with some json data in the request body and which also returns Json data. Now I want to build a user friendly HTML page to test this service. I have a form to fill in data, when the user clicks the button, the JSON should be build from the form data and POSTed to my webservice, the response should be displayed to the user. How do I achieve that?
© Stack Overflow or respective owner