We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to send some data on the request body using PUT verb but is not working. Nothing is sent.
Does anyone know how to solve that?
This is my code:
data = "{\"assignee\":\"" + USER_NAME + "\"}"; browser.NavigateToPage(new Uri(URL), HttpVerb.Put, data);
When looking the request through fiddler i can see nothing is being passed on the body.
The text was updated successfully, but these errors were encountered:
I noticed the following IF condition on the source code. Although, i'm getting errors to compile a new version due to some dev environment issues.
Would be nice a new vesion supporting data on PUT and DELETE verbs.
if (verb == HttpVerb.Post) request.ContentType = contentType ?? "application/x-www-form-urlencoded"; request.CookieContainer = cookieContainer; if (verb == HttpVerb.Post) { var stream = request.GetRequestStream(); using (var writer = new StreamWriter(stream)) { writer.Write(data); writer.Flush(); } }
Sorry, something went wrong.
No branches or pull requests
I'm trying to send some data on the request body using PUT verb but is not working. Nothing is sent.
Does anyone know how to solve that?
This is my code:
When looking the request through fiddler i can see nothing is being passed on the body.
The text was updated successfully, but these errors were encountered: