Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $json = '{"userid":"{{USERNAME}}","password":"{{PASSWORD}}","version":"2.0","mode":"Robot.XML","account":"{{VENDOR_ID}}","queryInput":"[p=Reporter.properties, Sales.getReport, {{VENDOR_ID}},Sales,Summary,Weekly,20170108]"}'
- CURLOPT_URL => 'https://reportingitc-reporter.apple.com/reportservice/sales/v1',
- CURLOPT_HEADER => false,
- CURLOPT_HTTPHEADER => array('Accept: text/xml, text/plain', 'Content-Type: text/xml, text/plain'),
- CURLOPT_USERAGENT => 'Java/1.8.0_92',
- CURLOPT_TIMEOUT => 10,
- CURLOPT_SSL_VERIFYPEER => false,
- CURLOPT_POST => true,
- CURLOPT_POSTFIELDS => $json,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement