how can I combine ApiKey with Basic Authentication? The API requires to pass ApiKeyby extending the Basic Auth Headers. Actualy pass 2 more headers in basic auth (apiVersion & apiKey)
The manual has the following example (cURL command line)
curl --basic \
-u "apiVersion=1;apiKey=myapikey;usename:password" \
-H 'Content-Type: application/json' \
-i http://someapi.com/rest/getdata?id=123
How can I do that with PHP cURL?
Thanks