me again, after some tests and after debugging the code, I have found how does it work, I will try to explain here:
Scenario: Suppose we want to provide a route to create a product, so we need to implement a POST method.
In order to consume it, we have to make a
POST to url : localhost/index.php?s=admin&rt=a/myextension/product
and in the body pass the follwing form data:
api_key: YOUR_API_KEY
token: TOKEN_GOT_FROM_LOGIN
If you do a get, you can pass all the parameters as queryparameters as following:
localhost/index.php?s=admin&rt=a/myextension/product&api_key=YOU_API_KEY&token=YOUR_TOKEN
I am not sure if this info will be usefull for someone or it is just me the one who didn't get how it works
bye