session.put(url, body, params) makes a PUT request. Only the first parameter is required
Parameter | Type | Description |
---|---|---|
url | string | HTTP URL. If baseURL is set, provide only path. |
body (optional) | null / string / object / ArrayBuffer / SharedArray | Request body; objects will be x-www-form-urlencoded. Set to null to omit the body. |
params (optional) | null or object {} | Additional parameters for this specific request. |