-
Notifications
You must be signed in to change notification settings - Fork 0
Create new profile
Petar Scepanovic edited this page Dec 20, 2019
·
1 revision
Before testing the backend part of this application it's required to clone and install the frontend part of the application. The reason is that we are sending a POST request to http://localhost:9000
Creating a new profile on local machine sending POST request at http://localhost:9000 using Postman.
example
{
"name": "Petar",
"email": "mail@gmail.com",
"password": "password",
"type": "school"
}
response
{
"msg": "Usercreated",
"token": "JhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWJqZWN0IjoiNWRmY2YxMTdlOTdiMmEwYmY4ZDQ2YTY0IiwiaWF0IjoxNTc2ODU3ODc5LCJleHAiOjE1NzcyODk4Nzl9.mxh_luEIBcft5jh6IrHJTQBTCku8GJVqI-hQ-sa"
}
Student-Art-Collection
Getting Started