Headers in cURL

How to properly format your header in cURL.

The x-api-id header corresponds with the variable for your ScienceIO API Key ID, and the x-api-secret header corresponds with the variable for your ScienceIO API Secret Key. Here is an example of a properly formatted header in cURL:

curl https://api.aws.science.io/v2/structure/<REQUEST_ID> \ 
  --request GET \
  --header "x-api-id: $SCIENCEIO_KEY_ID" \
  --header "x-api-secret: $SCIENCEIO_KEY_SECRET" \