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" \
Feedback
Was this page helpful?
Great! If you ever have questions or want to provide feedback, send us an email.
Bummer. We hate when we miss the mark. If you have suggestions for improvements or other general comments, send us an email.