March 2020
Intermediate to advanced
392 pages
10h 10m
English
Okay, let's get practical now! In this section, we want to test our previously created user management service (Chapter 7). If you have not followed along with the chapter, go ahead and grab the source files from the GitHub repository for this chapter:
curl -X POST -H "Content-Type: application/json" \--data '{"email": "email@domain.com","password": "test123"}' \http://localhost:8080/v1/users/register
Exchange email@domain.com for your own personal email, so you can see an email coming in. The console should show you the following:
{"status":"success","user":{"id":10,"email":"email@domain.com", "addresses":[]}}
Now we have a user ...
Read now
Unlock full access