The following listing contains a sample curl command to submit threat indicators in JSON format to TIDE.
curl -X POST -H "Content-Type: application/json" --data-binary @DATA_FILE_NAME.json
The system determines the format of the input data based on the Content-Type HTTP header (application/xml, text/xml, application/json, text/plain, text/csv, text/tab-separated-values, text/tsv, text/psv). If the Content-Type is not matched with predefined types or is not specified, it tries to determine the format dynamically by reading the first part of the data. It is safest to specify the format in the Content-Type. The file format is described in the Governance policies and data submission chapter.
This page has no comments.