Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
2ef0f378d7 | |||
3a08f262d0 |
@ -27,7 +27,7 @@ Use TypeScript for best in class instellisense.
|
|||||||
import * as smartrequest from 'smartrequest'
|
import * as smartrequest from 'smartrequest'
|
||||||
|
|
||||||
// simple post
|
// simple post
|
||||||
let options: smartreqest.ISmartRequestOptions = { // typed options
|
let options: smartrequest.ISmartRequestOptions = { // typed options
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json"
|
"Content-Type": "application/json"
|
||||||
"Authorization": "Bearer token"
|
"Authorization": "Bearer token"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "smartrequest",
|
"name": "smartrequest",
|
||||||
"version": "1.0.3",
|
"version": "1.0.4",
|
||||||
"description": "dropin replacement for request",
|
"description": "dropin replacement for request",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
|
Reference in New Issue
Block a user