Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem in URL encoding "+" string in post data content ALSO Error on the Client Side 404 and erroor on the Client side 422 #127

Open
ghost opened this issue Jul 18, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 18, 2021

I was trying to sent a post request which has a field email where i put [email protected] and send. i always got the response email is invalid. I tried sending it without the +, it accepts. Yes the api accepts + when i go through the browser but not through leaf.xnet.

Content type is application/x-www-form-urlencoded.

Also i have got error on client side 404 and 422 even when i am checking the status code. even on 404 and 422 the server send json data which i want to parse but before that it crashes on request which got 404 and 422 request.

@ghost ghost changed the title Problem in URL encoding "+" string in post data content Problem in URL encoding "+" string in post data content ALSO Error on the Client Side 404 and erroor on the Client side 422 Jul 21, 2021
@xDiogow
Copy link

xDiogow commented Nov 22, 2023

Try System.Web.HttpUtillity.UrlEncode("Your Email")
it should fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant