Home > Blockchain >  Get and post request from a website to a web service
Get and post request from a website to a web service

Time:12-16

I have a website that needs to import data from my secured spring boot web service. Is it possible to make call GET and POST requests to my webservice from the website without asking me for authenticating? Is it possible to work with Jwt token when sending my requests?

CodePudding user response:

Yes, you can pass the JWT token in the request header and call GET/POST API.

Header Name is Authorization and value will be Bearer <JWT_TOKEN>

Like this

enter image description here

  • Related