Javascript Ajax request without Javascript adapter


I have a back-end application running in SpringBoot using the SpringBoot adapter.
Do I need to use the Javascript Adapter in my front-end application to make Ajax requests ?

If I don’t need the Javascript adapter, how can a capture the response from the server in order to show the Login page and after the user is login ?

Thank you