2012-04-24 57 views
0

有什麼方法可以在flex中使用POST/PUT HTTP方法設置郵件正文?或者在瀏覽器中使用REST和Flex?請幫助Flex中的POST POST正文

PUT http://myurl:1234/myapi/changename 

Accept: application/xml 
Content-Type: application/xml 

<SpecialService xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> 
    <SessionId>guid of session</SessionId> 
    <UserName>ABC</UserName> 
    <NewServiceName>My service xs</NewServiceName> 
</SpecialService > 

回答