callbackName
This commit is contained in:
parent
bdd65b3b86
commit
0ad6749f87
3 changed files with 23 additions and 1 deletions
|
|
@ -448,6 +448,7 @@ where:
|
|||
String dataType,
|
||||
String url,
|
||||
String callbackKey,
|
||||
String callbackName,
|
||||
Object<any> data
|
||||
}
|
||||
```
|
||||
|
|
@ -661,6 +662,12 @@ where:
|
|||
|
||||
This option is useful for web services that use uncommon conventions for defining jsonp callbacks (e.g. foo.com/?jsonpCallback=doSomething)
|
||||
|
||||
- **String callbackName**
|
||||
|
||||
The name of callback function to be called by the response. Defaults to a unique auto-generated name
|
||||
|
||||
This option is useful for web services serving static files and to prevent cache busting.
|
||||
|
||||
- **Object<any> data** (optional)
|
||||
|
||||
Data to be sent. It's automatically placed in the appropriate section of the request with the appropriate serialization based on `method`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue