synRestPUT | R Documentation |
Sends an HTTP PUT request to the Synapse server.
synRestPUT(uri, body=NULL, endpoint=NULL, headers=NULL, retryPolicy=list(), ...)
uri |
URI on which get is performed |
body |
The payload to be delivered |
endpoint |
Server endpoint. The required endpoint is shown in each service's page in the REST API doc's (http://docs.synapse.org/rest).
Options are: 'https://repo-prod.prod.sagebase.org/repo/v1' (the default), 'https://file-prod.prod.sagebase.org/file/v1'
or 'https://file-prod.prod.sagebase.org/auth/v1'. |
headers |
named list of headers to use rather than the API-key-signed default set of headers |
retryPolicy |
|
... |
Any other arguments taken by a http://docs.python-requests.org method |
JSON encoding of response
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.