Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am trying to send data asFormUrlEncoded content.


httpResponse = client.PostAsync(Uri, new FormUrlEncodedContent(requestBodyContent));



But in Fiddler trace '+' charater is being appended after each filed name .


projectID+=BGDX20&projectRev+=01&status+=2

What I have tried:

Looks like something in my app.config or refrences is causing it to encode incorrectyl, cause when i try the same code in different project/solution it worked fine
Posted
Updated 9-Oct-18 20:47pm
v6
Comments
F-ES Sitecore 10-Oct-18 4:37am    
You probably have a space after your fieldnames, so it's probably "projectID " rather than "projectID"
scud.corsair 13-Feb-19 1:25am    
Thanks!!!

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