Tuesday, October 19, 2021

jhipster create a user

If you are also using jhipster here is how you can create/register user

curl "http://xxx.herokuapp.com/api/register" -X POST -H "Accept: application/json" -H "Content-Type: application/json" -d '{"login":"test6","email":"fakofo1207@otozuz.com","password":"123456","langKey":"en"}'

this is the minimum parameters and after curl you dont get much in bash, after that I can see that user created in management panel. 

now I need to figure out how activation mails work in herokuapp or in jhipster, I gave gmail parameters but did not work

No comments:

odd string diff

 https://leetcode.com/problems/odd-string-difference/ Beats 19.92% of users with Java   class Solution { public String oddString ( S...