We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9dee64 commit 92abac2Copy full SHA for 92abac2
docs/endpoints/request.md
@@ -139,8 +139,8 @@ const data = queryString.stringify({
139
http.request({
140
host: "boomlings.com",
141
path: target,
142
- port: 80
143
- method: "POST"
+ port: 80,
+ method: "POST",
144
headers: {
145
"Content-Type": "application/x-www-form-urlencoded",
146
"Content-Length": Buffer.byteLength(data)
@@ -167,11 +167,11 @@ async fn main() -> reqwest::Result<()> {
167
168
// create post values
169
let data = [
170
- ("something", "value"),
+ ("something", "value"),
171
("somethingElse", "otherValue")
172
];
173
174
- // send the request
+ // send the request
175
let req = reqwest::Client::new()
176
.post(uri)
177
.form(&data)
0 commit comments