인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

인프런 커뮤니티 질문&답변

daniel goh님의 프로필 이미지
daniel goh

작성한 질문수

따라하며 배우는 노드, 리액트 시리즈 - 기본 강의

노드 리액트 기초 강의 #31 회원 가입 페이지

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

작성

·

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

감사합니다.

답변 1

0

John Ahn님의 프로필 이미지
John Ahn
지식공유자

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

daniel goh님의 프로필 이미지
daniel goh

작성한 질문수

질문하기