我不是很卷曲精明想知道是否有人能帮助我把下面的到PHP:翻译命令行卷曲到PHP
curl -H "Accept: application/json" -H "Content-type: application/json" -X POST -d ' {"tester":{"email":"[email protected]","status":"applied","profile":{"first_name": "Justin", "last_name": "Britten"},"responses":{"response":[{"question_id":"23874", "answer":"a text response"},{"question_id":"23871", "answer":"1"},{"question_id":"23872", "answer":"0,2"},{"question_id":"23873", "answer":"9"}]}}}' https://account.prefinery.com/api/v2/betas/1/testers.json?api_key=secret
,如果你知道一个良好的卷曲教程也将是巨大的帮帮我。
那么他们几乎具有相同的类似物。查看curl的'manpage',而不是使用什么选项,然后与['curl_setopt'](http://php.net/manual/en/function.curl-setopt.php)文档进行比较以查看php equiv。 – prodigitalson 2013-02-18 16:44:35
你会介意提供一个链接到这些网页?对不起我的无知。 – 2013-02-18 16:53:46
有评论中的链接... – 2013-02-18 16:54:13