Skip to content

Commit 5a85627

Browse files
committed
move 3 reqwest-related articles to the book
1 parent bd20bc1 commit 5a85627

14 files changed

Lines changed: 39 additions & 53 deletions

File tree

books/reqwest/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
## TODO
3+
4+
- POST
5+
- change header
6+
- get JSON
7+
- send JSON
8+

books/reqwest/src/SUMMARY.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@
55
- [Simple blocking http client with reqwest](./simple-blocking-http-clients.md)
66
- [http-client async with reqwest](./http-client.md)
77
- [Download many URLs in parallel (async)](./download-many-urls-async.md)
8+
- [Simple blocking HTTP GET request in Rust](./simple-blocking-http-get-request.md)
9+
- [Simple blocking HTTP POST request using Rust](./simple-blocking-http-post-request.md)
10+
- [HTTP reqwest sending cookie](./reqwest-send-cookie.md)

examples/simple-blocking-http-get-request/Cargo.lock renamed to books/reqwest/src/examples/simple-blocking-http-get-request/Cargo.lock

File renamed without changes.

examples/simple-blocking-http-get-request/Cargo.toml renamed to books/reqwest/src/examples/simple-blocking-http-get-request/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,5 @@ name = "simple-blocking-http-get-request"
33
version = "0.1.0"
44
edition = "2021"
55

6-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7-
86
[dependencies]
97
reqwest = { version = "0.11.20", features = ["blocking"] }

examples/simple-blocking-http-get-request/src/main.rs renamed to books/reqwest/src/examples/simple-blocking-http-get-request/src/main.rs

File renamed without changes.

examples/simple-blocking-http-post-reqwest/Cargo.lock renamed to books/reqwest/src/examples/simple-blocking-http-post-reqwest/Cargo.lock

File renamed without changes.

examples/simple-blocking-http-post-reqwest/Cargo.toml renamed to books/reqwest/src/examples/simple-blocking-http-post-reqwest/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name = "simple-blocking-http-post-reqwest"
33
version = "0.1.0"
44
edition = "2021"
55

6-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7-
86
[dependencies]
97
reqwest = { version = "0.11.23", features = ["blocking", "json"] }
108
serde_json = "1.0.111"

examples/simple-blocking-http-post-reqwest/src/main.rs renamed to books/reqwest/src/examples/simple-blocking-http-post-reqwest/src/main.rs

File renamed without changes.

examples/simple-blocking-http-reqwest-sending-cookie/Cargo.lock renamed to books/reqwest/src/examples/simple-blocking-http-reqwest-sending-cookie/Cargo.lock

File renamed without changes.

examples/simple-blocking-http-reqwest-sending-cookie/Cargo.toml renamed to books/reqwest/src/examples/simple-blocking-http-reqwest-sending-cookie/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name = "simple-blocking-http-reqwest-sending-cookie"
33
version = "0.1.0"
44
edition = "2021"
55

6-
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7-
86
[dependencies]
97
reqwest = { version = "0.11", features = ["blocking", "json"] }
108
serde_json = "1.0"

0 commit comments

Comments
 (0)