Currently, my backend service is set up to register a new user in our system using the following URL:
/api/users/register
When using Restangular, post requests are typically sent as either query string:
Restangular.all('users').post("register",registerData)
Or with headers:
Restangular.all('users').one("register").customPOST('','','',{name:"xyz"})
The issue at hand is how to post registration form parameters as a payload.
Payload: https://i.sstatic.net/OhVFa.png
Query String: https://i.sstatic.net/UfcDk.png
Headers: https://i.sstatic.net/9E0WO.png