Postman Sample calls

1. Create - POST

localhost:8080/my-restful-web-app/users

Content-Type : application/json

{ "firstName" : "Claire", "lastName" : "Min", "email" : "clairemin@gmail.com", "password" : "1234" }

2. Login - POST

localhost:8080/my-restful-web-app/users/login

Content-Type : application/json

{ "email" : "clairemin@gmail.com", "password" : "1234" }

3. Email Verification - GET

http://localhost:8080/my-restful-web-app/users/email-verification?token=eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJISE1oR2tVbVJKTU5JV3F5dW00U3JPSTFCMlB4V2UiLCJleHAiOjE1NDc1MDE4NzN9.A066qEj8RCnU6GUsBXwMZup3gloVYClZ4c0qOo64a9gHpMzhJ05m7-G-t1sSVPKIgwFuY90y5p6KJ4D5W7C76g

Authentication : Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJkYXZpZEBnbWFpbC5jb20iLCJleHAiOjE1NDc1MDE5NDN9.xeI7wmd89ey-MaEuZg6s6a4p6LMQLPtGzW9FSJd94QrOngL90iiUwe7PN4ZfiJx2FuQnC9tcUcSdFrSLEPSG1A


Comments

Popular posts from this blog

Portlet Edit Mode (Portlet preference) to replace Portlet configuration

GoGo Shell & What can be deleted in Liferay Instance