-1
我怎麼能轉換:轉換curl命令(終端MAC)到PHP代碼
curl -s \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-u api:12345 \
-X GET \
'http://sampleurl.com/api/orders.json?limit=250&offset=0'
到合適的PHP命令?