Stock price checker - ajax get request not working

Hello everyone!

The API of the stock price checker project works as expected. But when using the front-end, the ajax request doesn’t even enter the API, and I can’t find the reason why it doesn’t work.

$('#testForm').submit(function(e) {
            url: '/api/stock-prices',
            type: 'get',
            data: $('#testForm').serialize(),
            success: function(data) {

This code was working for a previous project (issue tracker), but not know. Any ideas why? Here’s the project page.