This page shows you how to perform basic tasks in the Insystech Data Loss Prevention API by making calls directly to the API.
Before you begin
To use the Insystech service you will need to subscribe to the Insystech DLP service. If you have not yet subscribed please do that first and sign up here.
Check your Inbox for your subscription receipt, it will contain two important pieces of information that you'll need: APIKey and secret
Also, you'll need to have a method to convert your file to a base64string because REST API expects the request to contain the file in this format
Note that to pass a filename to curl you use the -d option (for "data") and precede the filename with an @ sign. This file should be in the same directory in which you execute the curl command.
Use curl to make a redaction request, passing it the access token you received as a response in step 3 and the filename of the JSON request you set up in step 1:
Note that receive the response as a file usingcurl you use the -o option (for "output") and precede the filename. This file should be in the same directory in which you execute the curl command.
Insystech DLP responds to your request with a 400 status message and the redacted file saved to your computer.
Congratulations! Your Robot has redacted its first file with Insystech DLP!