Click here to Skip to main content
15,922,574 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Can any one tell me how to call following curl request from c#?

curl -X POST https://api.abcd.com/v1/transferAmount \     
      -H "Content-Type:application/json" \     
      -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \ 
-d ' 
{    
      "paymentMethod": {        
            "type": "neteller",        
             "value": "gb_gbp@abcd.com"    
},    
      "transaction": {        
            "merchantRefId": "20140203122501",        
            "amount": 5000,                       
            "currency": "USD"    
},    
"verificationCode": "234124" 
}'
Posted
Updated 15-Apr-15 3:09am
v2
Comments
Joezer BH 19-Apr-15 3:37am    
Not clear how the AJAX is related to the question.

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