Proxy Get Config
Proxy Get Config - kintone.plugin.app.getProxyConfig()
Retrieves the headers and data that will be added to the request when running a REST API with kintone.plugin.app.proxy(). This information will first need to be saved using the kintone.plugin.app.setProxyConfig() API.
Function
kintone.plugin.app.getProxyConfig(url, method)
Parameters
PARAMETER | TYPE | REQUIRED | DESCRIPTION |
---|---|---|---|
url | String | Yes | The REST API and URL |
method | String | Yes | The HTTP method. Specify one of the following: GET / POST / PUT / DELETE. |
Response
A JSON containing headers and data for the request.
Available Pages
This method can be used in the following pages:
- Plug-in Settings
Sample
Sample Request
|
|