강의

멘토링

커뮤니티

Inflearn Community Q&A

hiddentrap7165's profile image
hiddentrap7165

asked

Vue.js Complete Guide - Learning Practical Concepts Through Hands-on Practice and Refactoring

[Practice Guide] Method for Structuring axios API Functions and Practice Guide

해당 API가 CORS걸었는지..

Written on

·

446

1

Access to XMLHttpRequest at 'https://api.hnpwa.com/v0//news/1.json' from origin 'http://localhost:8080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

하..슬프네요..;;

javascriptvuejs

Answer 2

1

Joe Hidden님의 프로필 이미지
Joe Hidden
Questioner

헉..;; 밑에 로그만 보고 / 이게 하나 더 붙은줄 모르고 안되나보다 하고 실습하고 있었네요..; 

잘 됩니다. 감사합니다~ ㅎㅎ;;

0

captain님의 프로필 이미지
captain
Instructor

안녕하세요 Joe님, 아래 URL로 요청해 보시겠어요? :)

https://api.hnpwa.com/v0/news/1.json

hiddentrap7165's profile image
hiddentrap7165

asked

Ask a question