기록

  • 홈
  • 태그
  • 방명록

Access-Control-Allow-Origin 1

blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

jQuery fileDownload로 구현된 파일다운로드 기능을 jQuery를 쓰지않고 axios를 사용도록 바꾸는 과정에서 에러가 발생했다. 1. 에러난 코드 controller (JAVA) @ResponseBody @RequestMapping(value = "/downloadExcel/", method = RequestMethod.POST) public void exportComponentFile(HttpServletResponse response, @RequestParam(value = "excelData") String excelData) { //response.setHeader("Access-Control-Allow-Origin", "*"); try { excelData = URLDecoder...

error 2023.05.25
이전
1
다음
더보기
프로필사진

  • 분류 전체보기 (273)
    • Frontend (102)
      • javaScript (29)
      • react (30)
      • vue3 (24)
      • angularjs (2)
      • jquery (4)
      • html (4)
      • css (3)
      • HTTP 통신 (6)
    • gridLib (24)
      • auiGrid (2)
      • agGrid (7)
      • jqGrid (15)
    • Backend (57)
      • JAVA (22)
      • spring (23)
      • spring cloud (MSA) (10)
      • tomcat (2)
    • SQL (19)
      • RDBMS (14)
      • NoSQL (4)
    • python (1)
    • study (42)
      • 클라우드&쿠버네티스 (7)
      • 보안 (6)
      • 알고리즘 문제 풀이 (28)
      • 독서 (0)
      • 네트워크 (1)
    • tool (6)
      • git (5)
    • error (10)
    • 트러블슈팅 (1)

Tag

dfs bfs, Python, 백준, jqgrid, mapper, mybatis, vue emit, 2024 데브크루, dfs, MSA, 프로그래머스, Spring Security, 프로그래머스 dfs bfs, softeer, KINX, JavaScript, JWT, 프로그래머스 정렬, BFS, error,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

Copyright © Kakao Corp. All rights reserved.

티스토리툴바