Today, I’m studying the flash + Vue tutorial https://testdriven.io/blog/developing-a-single-page-app-with-flask-and-vuejs/
Go to the back-end flash to create a new books array. When the front-end Vue obtains the data from the back-end through Axios, it always reports an error: “request aborted”
After looking at the developer tools, I didn’t have any other tips. I couldn’t figure it out.
BOOKS = [
{
'title': 'On the Road',
'author': 'Jack Kerouac',
'read': True
},
{
'title': 'Harry Potter and the Philosopher\'s Stone',
'author': 'J. K. Rowling',
'read': False
},
{
'title': 'Green Eggs and Ham',
'author': 'Dr. Seuss',
'read': True
}
]
This is the back-end books array. It’s strange that after the “]” after the meeting, a “;” is added. It’s easy to use. I really don’t understand.
After the operation is successful, it’s good to remove the “;”.
Strange, encounter this situation of prawns welcome message exchange.
Read More:
- Python flash project to obtain the request user IP address addr
- When configuring the proxy with Vue, the front-end requests the server-side error 504; the Vue console reports the error occurred while trying to proxy request
- Solution of Vue axios400 bad request problem
- Error 1: Vue quickly clicks the route to jump. Error: uncaught (in promise) error: request aborted
- [nodejs] error request aborted after request routing in post mode
- Data analysis to obtain Yahoo stock data: some problems are encountered when using panda datareader (cannot import name ‘is_ list_ Like ‘problem)
- Vue uses Axios
- CSRF verification failed. Request aborted.
- The file server reports an error of 413, and the file uploaded by nginx reports an error of 413 request entity too large
- Encapsulation of Axios and management of API interface in Vue
- How to solve the cross domain problem of Axios in Vue project
- The problem that headers [‘content-type ‘] does not work is set in the Axios get method request interface
- HBase hangs up immediately after startup. The port reports an error of 500 and hmaster aborted
- When writing a website, Vue + Flash prompts network error when visiting Vue page
- Forbidden (403) CSRF verification failed. Request aborted. – Django
- JRebel: ERROR Failed to obtain seat. Unable to connect to license server. Check
- Python uses requests to request and reports SSL: CERTIFICATE_VERIFY_FAILED error
- docker.errors.DockerException: Error while fetching server API version: (‘Connection aborted.‘, File
- One of the ways to solve the problem of internal server error in flash learning
- Eureka server startup error: cannot execute request on any known server