Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
attempt to fix the docs' functions title being smaller than the usage
Browse files Browse the repository at this point in the history
  • Loading branch information
joeymalvinni committed Jan 11, 2021
1 parent 9a1cc8e commit ef53fc1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ get()

## Functions
 
### **get**              `request.get(url, headers)`
## **get**               `request.get(url, headers)`

Returns an object of functions that apply proccesing to the response. To get the raw response buffer, use `.buffer()`.

Expand Down Expand Up @@ -64,7 +64,7 @@ console.log(request.get('https://postman-echo.com/get').error())
```

 
### **post**              `request.post(url, headers)`
## **post**              `request.post(url, headers)`

Returns an object of functions that apply proccesing to the response. To get the raw response buffer, use `.buffer()`.

Expand Down Expand Up @@ -122,7 +122,7 @@ console.log(request.post('https://postman-echo.com/post', {
```

 
### **proxy**              `request.proxy(proxyUrl)`
## **proxy**              `request.proxy(proxyUrl)`

Proxies a request. Format the string like `protocol://proxyIp:proxyPort` (e.g. `http://127.0.0.1:3000`). Returns the type of request you want to make. Then, request the resource like normal.

Expand Down

0 comments on commit ef53fc1

Please sign in to comment.