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