Click here to Skip to main content
15,890,043 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hi,
Good Evening,
I have data in aspx page.I need to send the data to Restful API WCF Service from aspx.cs page.

So please explain the process with an example

Thanks in advance
Posted

The following codeproject link is explain in details how you can create rest based wcf api with example. Please visit this link.
Create RESTful WCF Service API: Step By Step Guide[^]
 
Share this answer
 
I think you should use httpwebrequest in the code behind. refer to this link to see how it can be done.

http://stackoverflow.com/questions/16299815/how-to-call-rest-ful-webservice-using-httpwebrequest-and-postdata[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900