You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
Originally posted by @marartner at zfcampus/zf-apigility-documentation-swagger#32
The text was updated successfully, but these errors were encountered: