registration request changes:
- change GET to POST
- change input type to json