Display 404 cannot post? with axios submission

clipboard.png

clipboard.png
Request URL: http://localhost:8081/api/tableData.json
Request Method: POST
Status Code: 404 Not Found
Remote Address: 127.0.1 Not Found
Referrer Policy: no-referrer-when-downgrade
connection: close
content-length: 166
content-security-policy: default-src "self"
content-type: text/html; Charset=utf-8
date: Thu, 27 Sep 2018 06:43:10 GMT
Vary: Accept-Encoding
Xmuri contentlytype br Accept-Language: zh-CN,zh;: nosniff
XMurray PowerWhile by: Express
Accept: application/json, text/plain, /
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh; Qroom0.9
Connection: keep-alive
Content-Length: 0
Host: localhost:8081
Origin: http://localhost:8081
Referer: http://localhost:8081/
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36

init () {
      axios.post("/api/tableData.json")
        .then(this.handleGetDataSucc)
    },
    handleGetDataSucc(res){
      res=res.data
      if(res.ret && res.data) {
        const data = res.data
        this.pageData = data.pageData
      }
      
Jul.18,2021

cannot post
Why not get?


clipboard.png

Note that port is the port of your local vue program. The target in proxyTable should be the port of the back-end interface.
Don't you feel conflicted in this way?
the running path is all localhost:8081.

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-1a04b88-452e8.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-1a04b88-452e8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?