впервые опубликовано в:BungieNetPlatform
I am not experienced in this coding, however I did notice that your URL where you set the definitions to '?definitions=true' does have a forward slash before it. I believe you set the variable directly after the URL and not after a slash.
English
-
so I figured it out, just in case anyone else needs the info: [quote] curl_setopt($ch, CURLOPT_URL, $dm_BungieNet.'/platform/destiny/1/MyAccount/Character/'.$charID.'/Vendor/1410745145/?definitions=true'); curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_HTTPHEADER, array('x-api-key:'.$apiKey,'x-csrf:'.$dm_bungled)); curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_txt); curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_txt); curl_setopt($ch, CURLOPT_COOKIE, $cookie_txt); [/quote]
-
Congrats :)