Let's say my apigility runs under http://example.com/api, with a service /test thus available under http://example.com/api/test. My issue: The buttons to "Try it out!" are sending their requests to http://example.com/test, which ofc will result in a 500 error every time.
I found that I could fix this in this module's Service.php by modifying $this->baseUrl (appending '/api'), but obviously that's not the intended way to do it.
So is this something I am doing wrong (and if so, how do I do it right?) or something the module is doing wrong?
Let's say my apigility runs under
http://example.com/api
, with a service/test
thus available underhttp://example.com/api/test
. My issue: The buttons to "Try it out!" are sending their requests tohttp://example.com/test
, which ofc will result in a 500 error every time.I found that I could fix this in this module's Service.php by modifying $this->baseUrl (appending '/api'), but obviously that's not the intended way to do it.
So is this something I am doing wrong (and if so, how do I do it right?) or something the module is doing wrong?