1. Added function for send POST requests
2. Added send JSON from registration form to REST by POST requests