Пожалуйста, помогите в переводе этой завиток команду команды 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
cfhttp не разрешает аутентификацию дайджеста, поэтому мы используем cfx_http5 – Vlad
. У меня нет подсказки об использовании тега CFX_HTTP5, однако этот человек, похоже, поделился вашей проблемой и работал вокруг, нажав java - http: //www.terrenceryan. com/blog/post.cfm/digest-authentication-in-coldfusion –