Merge fb1e5db79f
into 6ef82540a5
This commit is contained in:
commit
11db0d30fa
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
```
|
||||
```
|
||||
|
|
Loading…
Add table
Reference in a new issue