What is the correct way to setup GET and POST services in ApiGility?
Currently, if I am setting up a GET service, I will include the variable I require in my route:
/api/verify/merchant[/:merchant_code]
And if I wish to setup a POST service, my route becomes:
/api/verify/merchant
And I add a merchant_code 'field'
And if I want my route to accept both POST and GET, I then do this:
/api/verify/merchant[/:merchant_code]
and add a merchant_code field as well...
Is this the correct way to setup the routing for this?