작성
·
307
0
{
"message": "Request failed with status code 404",
"name": "Error",
"stack": "Error: Request failed with status code 404\n at createError (http://localhost:3000/static/js/vendors~main.chunk.js:1142:15)\n at settle (http://localhost:3000/static/js/vendors~main.chunk.js:1376:12)\n at XMLHttpRequest.handleLoad (http://localhost:3000/static/js/vendors~main.chunk.js:616:7)",
"config": {
"url": "/api/users/register",
"method": "post",
"data": "{\"email\":\"123123@gmail.com\",\"password\":\"123123\",\"name\":\"dan\"}",
"headers": {
"Accept": "application/json, text/plain, */*",
"Content-Type": "application/json;charset=utf-8"
},
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1
}
}
로그인, 회원가입까지 만들어봤는데 둘다 안되네요. 페이지를 찾을수 없는걸로 나오는데 문제가 무엇일까요. /api/users/login
/api/users/register 오타 문제도 아닌것같고.... 혼자 찾아보려다가 답이 안보여서 도움 요청합니다 ㅜㅜ
깃헙 주소도 같이 남길께요 .
https://github.com/WanzGoh/Node.js_boiler-plate
감사합니다.