How to use ajax to dock the interface provided by backend in python

how to use ajax to interface with the interface provided by the backend for python. Anyone who knows about it can help you.

Feb.28,2021

are you going to write a page script in python?


does not use requests library or urllib library to make HTTP link call interface

import requests
res = requests.get('http://www.example.com/api/something_list')
lst = res.json()
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e99879-464a9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e99879-464a9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?