curl --location --request POST '<ENDPOINT URL>' \
--header 'x-api-key: <API KEY>' \
--header 'Content-Type: application/json' \
--data-raw '<JSON BODY>'
import requests
res = requests.post(
'<ENDPOINT URL>',
json={
'some': 'value as dict'
},
headers={
'x-api-key': '<API KEY>'
}
)