How to make the custom api work

And what happens if you try to post with POSTMAN for example. Does it works ?

Check structure here: