Add and refactor http requests
All checks were successful
Quality Check / Tests (pull_request) Successful in 1m2s
Quality Check / Checkstyle Main (pull_request) Successful in 46s
gitea-sonarqube-bot OK
Build PR / Build and analyze (pull_request) Successful in 1m57s

This commit is contained in:
Phan Huy Tran 2024-10-02 08:31:00 +02:00
parent e5b4e2c012
commit fa074dbba7
3 changed files with 4 additions and 1 deletions

View file

@ -0,0 +1,6 @@
POST https://keycloak.szut.dev/auth/realms/szut/protocol/openid-connect/token
Content-Type: application/x-www-form-urlencoded
grant_type=password&client_id=employee-management-service&username=user&password=test
> {% client.global.set("auth_token", response.body.access_token); %}

View file

@ -0,0 +1,3 @@
### GET request to example server
GET http://localhost:8080/projects
Authorization: Bearer {{auth_token}}