From ef53fc16512d0369c2deeaad18cf182bba12b328 Mon Sep 17 00:00:00 2001 From: Joey Date: Mon, 11 Jan 2021 11:15:20 -0800 Subject: [PATCH] attempt to fix the docs' functions title being smaller than the usage --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b65c163..b44e925 100644 --- a/README.md +++ b/README.md @@ -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()`. @@ -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()`. @@ -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.