I am trying to use Curl in a batch task to send in a claim. my line is:
curl --cert nzhealthca.pem -d @test1.txt https://provider.api-compliance.acc.co.nz/api/v2/claims --header "Accept-Encoding: gzip,deflate&key: xxxxxxx&Content-Type: application/json&Content-Length: 1507&Host: provider.api-compliance.acc.co.nz&Connection: Keep-Alive&User-Agent: Apache-HttpClient/4.1.1 (java 1.5)"
It keeps giving the fault "Failed to resolve ApI Key variable request.header.apikey" (which I've replace above with 'xxxxx').
I'm new to this, so would appreciate any assistance.