Right, I tried that first but I couldn&#x27;t actually get it to return any data. I think I was screwing up the request headers. Now though I remembered the Firebug &quot;copy as cURL&quot; thing and it&#x27;s working, so yeah, definitely a better way to do it.