AJAX for sending login information

Hello, I have an issue implementing an AJAX function to send login information.

Basically, I want to use Webflow’s form to send a email and password to a microservice that is off-site, and it returns an encrypted string that I need to paste onto the end of a url. The microservice is already made out for me currently, I just have no idea if AJAX is the right format to use.

Any AJAX professionals out there?

Here is my site Read-Only: LINK
(how to share your site Read-Only link)

That should be quite straight forward to do, you should find plenty of examples of how to use ‘fetch’ to achieve your goal. Feel free to send a private message about your function details if required.