GET - Proxy
You can use this method to send a request that use sensitive data in the url params with the replaced values of the token.
GET /
curl -X GET https://api.firstoken.co/proxy/
-H 'ft-access-key: YOUR_ACCESS_KEY'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”: “hsFG84hbnfk454bja”}
Required: false
In the destination URL, filters and actions (with a valid token) can be used.
Example:
{{ 4242428XsEs24242: detokenize | extract: expiration | date: MM/YY }}/?test2={{ 4242428XsEs24242:detokenize | extract: name }}&test3={{ 4242428XsEs24242:detokenize | extract: card }}
This URL will be replaced with the token values and then the proxy API will send the request.
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?