This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Problem: | |
(byebug) devise_parameter_sanitizer.sanitize(:sign_up) | |
{} | |
Investigation: | |
1. We post the data to the backend in this format | |
``` | |
$ curl -X POST -H "Content-Type: application/json" --data "{\"user\": {\"email\":\"[email protected]\", \"password\": \"1234567890\", \"password_confirmation\": \"1234567890\"}}" localhost:3000/api/v1/users | |
``` |