* * Similar to axious get(url,[config]) * * @see https://github.com/axios/axios#axiosputurl-data-config * @see https://masteringjs.io/tutorials/axios/put * * @param {*} url resource URL for the PUT request * @param {*} data data payload for the PUT request * @
(url: string, data: any, config: any = {})
| 459 | * @param {*} config request header options |
| 460 | */ |
| 461 | async put (url: string, data: any, config: any = {}) { |
| 462 | config.url = url |
| 463 | config.method = 'PUT' |
| 464 | config.data = data |
| 465 | await this.request(config) |
| 466 | } |
| 467 | |
| 468 | /** |
| 469 | * |