Comparing version 0.4.1 to 0.4.2
{ | ||
"name": "fitch", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "Test using fetch API", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -50,3 +50,3 @@ ![Fitch.js](https://github.com/raphaelpor/fitch.js/raw/master/assets/fitch-mini.png) | ||
fitch.get(apiUrl, req) | ||
fitch.post(apiUrl, req) | ||
.then(data => console.log(data)) | ||
@@ -59,3 +59,3 @@ ``` | ||
fitch.get(apiUrl, req) | ||
fitch.put(apiUrl, req) | ||
.then(data => console.log(data)) | ||
@@ -68,3 +68,3 @@ ``` | ||
fitch.get(apiUrl, req) | ||
fitch.patch(apiUrl, req) | ||
.then(data => console.log(data)) | ||
@@ -75,3 +75,3 @@ ``` | ||
```js | ||
fitch.get(apiUrl) | ||
fitch.delete(apiUrl) | ||
.then(data => console.log(data)) | ||
@@ -78,0 +78,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14980