0
在翻译这个curl命令来cfx_http5命令翻译卷曲cfx_http5
HTTP method: PUT
URL: http://webapi.ebayclassifieds.com/webapi/partners/{username}/ads/{ext-reference-id}
Sample command:
curl --digest -u{username}:{password} -v -X PUT -H 'Expect: ' -H 'Content-type: application/xml' -d @- http://webapi.ebayclassifieds.com/webapi/partners/{username}/ads/{ext-reference-id} < ad.xml
[Note: - The "ext-reference-id"" is the unique identifier of the ad and should be used for updating and deleting the ad.]
<CFX_HTTP5 username="myusername" password="mypassword" URL="http://webapi.ebayclassifieds.com/webapi/partners/{username}/ads/{ext-reference-id}" OUT="theresponse" METHOD="PUT">
Cfhttp不适合你吗? – Henry 2012-02-20 16:31:01
cfhttp不允许摘要认证,这就是为什么我们使用cfx_http5 – Vlad 2012-02-20 18:50:22
我不知道如何使用CFX_HTTP5标签,但是这个人似乎已经分享了你的问题,并通过打击java - http://www.terrenceryan解决。 com/blog/post.cfm/digest-authentication-in-coldfusion – 2012-02-20 20:37:01