• 카테고리

    질문 & 답변
  • 세부 분야

    프론트엔드

  • 해결 여부

    미해결

안녕하세요. 강의 너무 잘보고 있습니다.

20.10.02 22:35 작성 조회수 673

2

PS D:\trello\lecture-vue-trello-server> curl localhost:3000/health

api 서버 명령을 하였습니다. 그런데

curl : URI 접두사를 인식할 수 없습니다.

위치 줄:1 문자:1

+ curl localhost:3000/health

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotImplemented: (:) [Invoke-WebRequest], NotSupportedException

    + FullyQualifiedErrorId : WebCmdletIEDomNotSupportedException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

위와 같은 에러가 나서 해결방법좀 알 수 있을까요?

답변 1

답변을 작성해보세요.

2

윈도우즈 환경에서는 명령어 사용법니 조금 다른것 같습니다. 이러게 한 번 시도해 보세요.

curl "http://localhost:3000/health"

(쌍따옴표로 uri 감싸기)