A
A
Alex00qqw2020-11-20 00:11:44
Spring
Alex00qqw, 2020-11-20 00:11:44

How to redirect http requests in spring?

There is a spring boot 2.3.4 + gradle web application. The application acts as a back end for the SPA application in the browser (hereinafter referred to as the client). On the client side, there is a database in the pouchdb browser and it must be synchronized with the couchdb database on the back. There is an idea to forward all requests from / couchdb to the couchdb service on the server and thus make the connection of the client to the resource transparent. The only thing that needs to be sent is Authorization JWT. Please tell me how to do it better?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question