hi..
How to send Json Data to Web API using Post Request.
My Json value is like below.
var json123 = {
"firstname": {
"value": "john",
"versions": [
{
"value": "john",
"selected": false
},
"lastname": {
"value": "paul",
"versions": [
{
"value": "paul",
"selected": false
},
"email": {
"value": "
[email protected]",
"versions": [
{
"value": "
[email protected]",
"selected": false
},
}
Here I need to pass all data to my post request and after receiving the request i need to take the each attribute value through c# only.
How to do this..
need ur suggestions with examples.
Regards,
Gopal.s