Skip to content

iamtech/GatewayServerZuul

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gateway server for Intelligent Routing [for Request form UI]

Here endpoint of service employee-microservice-dataset is being called via this Gateway server (check bootstrap.yml). Example:

http://localhost:8093/employeeUI/profiles

Using JWT Token

Step 1 - POST request to http://localhost:8093/auth with

        JSON:
         {
              "username": "admin",
              "password": "admin"
         }

This will retun a JWT token like : eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTU0MTA1NTY1MiwiaWF0IjoxNTQwNDUwODUyfQ.2QCp1ZNXAokmLRl5-UdRw9mr3vqdBPZwLnoBv87OeGT9fqMhtYZTbtAiHITq-yWjCdC-XNwEEJ_Aq-vG_9u3kg

Step 2 - GET request to http://localhost:8093/employeeUI/profiles with header

         Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTU0MTA1NTY1MiwiaWF0IjoxNTQwNDUwODUyfQ.2QCp1ZNXAokmLRl5-UdRw9mr3vqdBPZwLnoBv87OeGT9fqMhtYZTbtAiHITq-yWjCdC-XNwEEJ_Aq-vG_9u3kg

About

Zuul Server for Gateway / Intelligent Routing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages