Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I want to send string data to client url(htt://abc.com/client) in some format like {"email":"foo@bar.com","timestamp":1322000095}

How do we do this using .net rest API.

I would appreciate your quick response.

Regards
Santosh
Posted

Hello Santosh,

Have a look at this MSDN documentation. Contains a sample too.

Regards,
 
Share this answer
 
You can use RestSharp

It is so easy. And you can serialize response with newtonsoft dll

http://restsharp.org/[^]
 
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