1👍
So what you have built and what you have linked appear to be solving different problems. What you are doing is serializing the user data for the API. So I can see the users username if I use your api. But what your linking to is allowing people to create new users with their API’s. So which do you want to do?
The best way of putting it is your doing a “GET” request, and they are using a “POST” request.
Source:stackexchange.com