mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-09 00:02:50 -04:00
fixing cheatsheet indication
This commit is contained in:
parent
afead02c46
commit
f0167925ec
@ -43,11 +43,11 @@ HTTPX.with(headers: {"user-agent" => "My Ruby Script"}).get("https://google.com"
|
|||||||
## HTTP Methods
|
## HTTP Methods
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
HTTP.get("https://myapi.com/users/1")
|
HTTPX.get("https://myapi.com/users/1")
|
||||||
HTTP.post("https://myapi.com/users")
|
HTTPX.post("https://myapi.com/users")
|
||||||
HTTP.patch("https://myapi.com/users/1")
|
HTTPX.patch("https://myapi.com/users/1")
|
||||||
HTTP.put("https://myapi.com/users/1")
|
HTTPX.put("https://myapi.com/users/1")
|
||||||
HTTP.delete("https://myapi.com/users/1")
|
HTTPX.delete("https://myapi.com/users/1")
|
||||||
```
|
```
|
||||||
|
|
||||||
## HTTP Authentication
|
## HTTP Authentication
|
||||||
|
Loading…
x
Reference in New Issue
Block a user