Dev tools not working

Problem description

send a request to a flask server and get back data in this from

Expected behavior

function getStonks() {
    $.ajax({
      url: 'https://d2e495d2-702d-4043-9578-13c3646e06a9-00-3iry7iuvg70kr.riker.replit.dev/getstonkprice',
      method: 'GET',
      success: function (response) {
        var stonksList = JSON.parse(response);
        console.log(stonksList);
      },
      error: function (xhr, status, error) {
        console.error(error);
      }
    });
  }

sould send a get request

Actual behavior

can’t post the error becuase it has more than 5 links

Steps to reproduce

put this in your project and call it

Browser

crome

OS

Linux

Device if mobile

none

Plan

free

flask server

@app.route('/getstonkprice', methods=['GET'])
def getstonkprice():
      with open("stonks.json", "r") as read_file:
        data = json.load(read_file)
      datastonks = list(data['stonks'].keys())
      print(datastonks)
      prices = []
      for datastonk in datastonks:
        price = data['stonks'][datastonk]['price']
        prices.append(f"{datastonk} -> {price}")
      print(prices)
      return str(prices)

what flask logs and the data it sends

['startstonk -> 5.59', 'teststonk -> 1.16']
172.31.196.53 - - [20/Feb/2024 19:28:47] "GET /getstonkprice HTTP/1.1" 200 -

error one link at a time