• 카테고리

    질문 & 답변
  • 세부 분야

    풀스택

  • 해결 여부

    미해결

Request failed with status code 404 문제 ㅜ 도와주세요

21.07.16 22:01 작성 조회수 239

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

감사합니다.

답변 1

답변을 작성해보세요.

0

안녕하세요 답변이 늦어서 죄송합니다 ~~!! 
방금 해보니깐 잘되는것 같은데 해결하신건가요 ~ ?!