Thanks for posting this. I’d tried a couple of other resources and tried setting curl to send the header that were in-place in the php document however it wasn’t working. When I set it up as in your example it started working. :D