We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce20e34 commit 9454c07Copy full SHA for 9454c07
README.md
@@ -6,17 +6,23 @@ This library transparently manage the requests to api servers. If a server retur
6
when an access token is expired the client library will request a new access token from a Quid server, using a refresh
7
token, and will retry the request with the new access token
8
9
+```bash
10
+npm install quidjs@0.2.0
11
+```
12
+
13
## Usage
14
15
```javascript
16
+import QuidRequests from "quidjs";
17
18
var requests = new QuidRequests({
19
namespace: "my_namespace",
20
timeouts: {
21
accessToken: "5m",
22
refreshToken: "24h"
23
},
24
axiosConfig: {
- baseURL: "https://myquideserver.com",
25
+ baseURL: "https://myquideserver_uri_", // "http://localhost:8080"
26
timeout: 5000
27
28
})
0 commit comments