axios-easy-auth
Advanced tools
Comparing version 1.0.6 to 1.0.7
{ | ||
"name": "axios-easy-auth", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Modified axios with a simple addition of headers", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
<h1>Were there any problems adding headers to the request?</h1> | ||
<h3>This library makes it easy.</h3> | ||
<br /> | ||
<pre>const auth = new EasyAuth('https://jsonplaceholder.typicode.com', 'Bearer <token>')</pre> | ||
<pre>const auth = new EasyAuth('https://jsonplaceholder.typicode.com', 'Bearer ‹token›')</pre> | ||
<p> | ||
@@ -32,3 +32,3 @@ First we need to create the EasyAuth class. Parameters accept site url, access token. | ||
<br /> | ||
<pre>const auth = new EasyAuth('https://jsonplaceholder.typicode.com', 'Bearer <token>')</pre> | ||
<pre>const auth = new EasyAuth('https://jsonplaceholder.typicode.com', 'Bearer ‹token›')</pre> | ||
<p> | ||
@@ -35,0 +35,0 @@ Для начала нужно создать класс EasyAuth. Параметрами принимает url сайта, access токен. |
3830