How to send PUT HTTP Request in Flex

后端 未结 3 1848
慢半拍i
慢半拍i 2020-12-16 08:37

I want to send HTTP PUT Request on one URL to update that content of XML via using API.

URL is like this: https://domainname.com/someurls/id.xml

I want to up

3条回答
  •  别那么骄傲
    2020-12-16 09:34

    I have found the solution to send the put and delete service with HTTPSerivce in flex.

    You just have to send one more header with the service method POST.

    You have to send data in the POST method and attach one more header X-HTTP-Method-Override and the value as the PUT or DELETE.

    Your service will be send as PUT or DELETE.

    Thanks......

提交回复
热议问题