강의

멘토링

커뮤니티

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

terecal님의 프로필 이미지
terecal

작성한 질문수

Node.js 교과서 - 기본부터 프로젝트 실습까지

REST API의 개념과 프론트 코드 설명

restFront.html을 브라우져에 띄우면 에러가 나여 에러 내용은 Failed to load file:///C:/users: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. 인데 이게 무슨 에러인가여?

작성

·

268

0

restFront.html을 브라우져에 띄우면 에러가 나여

에러 내용은

Failed to load file:///C:/users: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.

인데 이게 무슨 에러인가여?

답변 1

0

제로초(조현영)님의 프로필 이미지
제로초(조현영)
지식공유자

restFront.html은 파일을 직접 실행하시면 안 되고, 웹 주소를 통해서 들어가셔야 합니다. 추후 모든 html 파일이 공통입니다.

terecal님의 프로필 이미지
terecal

작성한 질문수

질문하기