Click here to Skip to main content
15,885,032 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
My sample code bellow not working.....

WebClient webClient = new WebClient();
webClient.UploadStringCompleted += client_UploadStringCompleted;
webClient.Headers[HttpRequestHeader.ContentType] = "application/json";
string jsonData = JsonConvert.SerializeObject(imagesInfo);
webClient.UploadStringAsync(ImpressionUri, "POST", jsonData);
Posted
Comments
[no name] 3-May-14 13:04pm    
First thing for you to understand is that we would have no idea at all what it is that you think "not working" means.
suzand 3-May-14 23:51pm    
not working means "no data update even though no error occurred."
suzand 4-May-14 5:00am    
Please show me the wright way..........
hitech_s 29-Jul-14 3:35am    
if you share your code we can explore and provide you the way. it would throw an error definetly

1 solution

use Wcf witch will work on all Platform advance version of web service
 
Share this answer
 

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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