Few resource that can help you .
Also share screen shorts of error for us to help you properly.
Suggestion. Use Postman to get the REST working. To me the interface is intuitive and flexible and the errors are easy to spot. Once that is working then go into Mendix and make sure it is doing the same things (congirured the same).