Tuesday, October 20, 2020

Practice Test 1

 

1 comment:

  1. http://127.0.0.1:9092/api/auth/signup
    {
    "username":"admin",
    "email": "admin@gmail.com",
    "password":"12345678",
    "role":["user","admin","mod"]
    }
    Post Request SignIn:
    http://127.0.0.1:9092/api/auth/signin
    {
    "username":"admin",
    "password":"12345678"
    }
    Response:
    {
    "id": 3,
    "username": "admin",
    "email": "admin1@gmail.com",
    "roles": [
    "ROLE_USER",
    "ROLE_MODERATOR",
    "ROLE_ADMIN"
    ],
    "tokenType": "Bearer",
    "accessToken": "eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsImlhdCI6MTYwMzQzMTQ1MSwiZXhwIjoxNjAzNTE3ODUxfQ.4XjdYWROQ7kX6DpgqaJKtlX_rL9iVvL8r_gd6JalJAI8kJx5AN5HxLJFV3X-AyGgjgnKgKElCIeh87Ysyr0pdA"
    }
    GET Request
    http://127.0.0.1:9092/api/test/admin

    ReplyDelete

Create a Digital Clock using HTML and JavaScript

Create a Digital Clock using HTML and JavaScript  <! DOCTYPE html> < html > < head > ...

Followers

Search This Blog

Popular Posts