Flexible support for REST methods

Does the latest sdk support RESTful methods like PUT and DELETE using their HTTPService?

thank

+3
source share
3 answers
+2
source

OK, it seems you need to use a separate server, such as BlazeDS, to access the PUT and DELETE methods. I have not tried it personally, I feel that it is completely lame, that this should be the only solution. When I used FLEX 3 with Rails 2, I was able to achieve RESTfulness by doing "_method = PUT hack". But, when I upgraded to Rails 3, it no longer works :(

, . (Rails 3 - "_method = PUT" , ?), .... , FLEX - , Rails 3 _method = PUT.

0

PUT DELETE SDK (, Apache Flex 4.12.0), X_HTTP_METHOD_OVERRIDE.

: http://blog.arulprasad.com/2010/12/http-put-delete-from-actionscript-rest.html

. CAPITAL, , .

0

Source: https://habr.com/ru/post/1741964/


All Articles