How to send JSON object from a html page to a REST web service which consumes application/json ?
-
How it can be done from a simple HTML page without using Jquery or Jersey/Jackson api's? for example: I want to send the json object having id and name as a parametre.
-
Answer:
http://stackoverflow.com/questions/8937414/how-to-pass-a-json-object-using-form-data-to-a-rest-service-using-js To turn your json object to a string without using jquery? You can either use a third party or write your own parser, something like: http://stackoverflow.com/questions/3593046/jquery-json-to-string
sumeet at Yahoo! Answers Visit the source
Related Q & A:
- How to create a Restful web service in .Net Using MySQL?Best solution by stackoverflow.com
- How to save jQuery object in a cookie?Best solution by Stack Overflow
- How to move an object in a circular path?Best solution by Game Development
- How to call .aspx page from a web web service(service.svc?Best solution by Stack Overflow
- What is a cached web service?Best solution by Quora
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.