PUT - Proxy
You can use this method to send a request that use sensitive data in the body with the replaced values of the token.
PUT /
curl -X PUT https://api.firstoken.co/proxy/
-H 'ft-access-key: YOUR_ACCESS_KEY'
-H "Content-Type: application/json"ft-url-destiny: string
URL which proxy API will send the request
Required: true
ft-access-key: string This headers contains the Firstoken API Key Required: true
ft-headers: JSON
This JSON contains the headers that proxy have to add to the request.
Example: "{Authorization" : "Basic VHR4NnBmRGd6OEJLdDNaQTNVR3pzUGR0WnpJOjRReEdONDRRQWVSRXB5d2lsOGR2NEFIY1ZSNWZ2SUJkbm9PTmNqRDE0NHc0V21sUzFJRktaeUduNGJOSkI2TFU=}"
Required: false
ft-encryption: JSON
This JSON contains the properties required to apply an encryption in the selected values.
Must contain the following properties:
Key: string
Is the RSA key,
Type: string
The type of the encryption algorithm.
is_partial: Boolean
Explains if the encryption is partial or not.
Example: {"key": "{{your-encryption-key}}", "type": "RSA", "is_partial": true}
Required: false
In the Proxy body, only a valid token (permanent or temporary) is necessary to extract sensitive data with the actions and filters explained in "Actions".
Proxy response body
The Proxy response body will contain the status codes of the call and inside the data object, the response sent by the destination url designated in the header.
Last updated
Was this helpful?