Use vue+axios post request to send formData report 500 for advice

Mar.14,2021
The

API requests cross-domain
allows backend developers to add
header ('Access-Control-Allow-Origin:*'); / / allows all sources to access
header (' Access-Control-Allow-Method:POST,GET'); / / allows access


cross-domain. It is recommended that you take a look at teacher Ruan Yifeng's article.
browser homology policy and its evasion

Menu