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

v107 and x-www-form-urlencoded #1686

Closed
mabi opened this issue Jan 7, 2022 · 7 comments
Closed

v107 and x-www-form-urlencoded #1686

mabi opened this issue Jan 7, 2022 · 7 comments

Comments

@mabi
Copy link

mabi commented Jan 7, 2022

In v107 sending parameters as name=value x-www-form-urlencoded using
request.AddParameter("name", "value");
as stated in usage.md no longer works.
What is the correct way?

@alexeyzimarev
Copy link
Member

Could you please check the exact version you're using? It should be multipart form in the latest version.

@mabi
Copy link
Author

mabi commented Jan 7, 2022

Version="107.0.1"
the issue is that body is no longer just name=value

@alexeyzimarev
Copy link
Member

I don't understand what you need. Do you want to post as url encoded form or as multipart form data?

@mabi
Copy link
Author

mabi commented Jan 7, 2022

urlencoded form,
Content-Type: application/x-www-form-urlencoded

@restsharp restsharp deleted a comment from milen-denev Jan 8, 2022
@restsharp restsharp deleted a comment from milen-denev Jan 8, 2022
@alexeyzimarev
Copy link
Member

@mabi the latest preview should work for you.

@mabi
Copy link
Author

mabi commented Jan 8, 2022

tested OK with version 107.0.2-alpha.0.5 more testing on monday.
Thank you @alexeyzimarev

@alexeyzimarev
Copy link
Member

Released in 107.0.2, if you still get an issue, please reopen.

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

2 participants