This commit is contained in:
TitanFighter 2020-10-19 16:22:07 +03:00 committed by GitHub
commit 11db0d30fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ yarn add simple-jsonp-promise
``` bash
import jsonp from 'simple-jsonp-promise'
let options = {
params:{
data: {
a : 1,
b : 2
},
@ -20,4 +20,4 @@ let options = {
timeout : 15000
}
let response = await jsonp('https://localhost/api.jsonp' , options);
```
```