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
I think that have a bug in 0.10.0 version, because i use the same code in two versions and the endpoints get Not Found in 0.10.0:
Using 0.10.0:
$ curl -X GET http://msmm-api.azk.dev/v1/company.json
Not Found%
Using 0.9.0:
$ curl -X GET http://msmm-api.azk.dev/v1/company.json
[{"cid":7,"name":"acme","description":"Acme"},{"cid":8,"name":"teste","description":"teste"}]
My class:
classAPI::Status < API::Basedesc"Returns the status of the API"get'/status'do{status: 'ok'}endendclassAPI::Company < API::Baseresource:companydodesc'Returns list Companies',entity: Company::Entityget'/'docompanies=Company.allpresentcompaniesendendend
The endpoints in resource method dont work, but in root this works in both versions.
$ curl -X GET http://msmm-api.azk.dev/v1/status.json
{"status":"ok"}
The text was updated successfully, but these errors were encountered:
I think that have a bug in 0.10.0 version, because i use the same code in two versions and the endpoints get Not Found in 0.10.0:
Using 0.10.0:
Using 0.9.0:
My class:
The endpoints in resource method dont work, but in root this works in both versions.
The text was updated successfully, but these errors were encountered: