Attached you’ll see 5 images.
Two for routes: routes/custom.js (custom routes) and routes/core.js (routes created by factory)
One for the service: services/credential-user.js
One for the controller: controllers/credential-user.js
I’ve got a custom route POST credential-users/plz which calls credential-user.customCreate. customCreate is basically the same as the default/core create method with a console log (as you can see).
Creating a POST request to /credential-users/plz returns a 405 error. What am I doing wrong?
Thank you for your time and assistance!
This topic has been created from a Discord post (1235008607586877472) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord