[FLOW3-general] Question about implementing REST interface

Mario Beiser mariobeiser at googlemail.com
Sun Jan 27 16:36:02 CET 2013


Dear list,

I implemented some of my controllers as an instance of
TYPO3/Flow/Mvc/Controllers/RestController.

When I am going to query them via curl I got a 200, hence I got the result
of the listAction. This is absolutely
ok, if I am going to send a GET request.

BUT I got the same answer, although I am sending a POST or PUT. I thought,
that Flow maps my requests
against the according actions. So I am wondering, if I have to set some
routes for the actions or do I have
to add some logic to my controller to decide?

Normally the RestController should cope that...

ps: followed the great example of Bastian Waidelich:
https://github.com/bwaidelich/Wwwision.RestTest

thanks in advance.
Mario


More information about the Flow mailing list