Different services may need all kinds of different headers, and you can set them using this CURLOPT_HTTPHEADER as shown here. I haven't seen that one before, but there are similar "features" in many APIs. Thanks for taking the time to add the code example.