Skip to content

Commit 3c42f5f

Browse files
committed
added comments about headers and reqeusts
1 parent 5beefff commit 3c42f5f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ const createRequest = (input, callback) => {
3131
tsyms
3232
}
3333

34+
// This is where you would add method and headers
35+
// you can add method like GET or POST and add it to the config
36+
// The default is GET requests
37+
// method = 'get'
38+
// headers = 'headers.....'
3439
const config = {
3540
url,
3641
params

0 commit comments

Comments
 (0)