Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 |
Tags
- Python
- Spring
- table
- GIT
- Eclipse
- Java
- Sqoop
- es6
- Express
- JavaScript
- SPC
- Kotlin
- vaadin
- SQL
- IntelliJ
- R
- plugin
- hadoop
- SSL
- MSSQL
- 공정능력
- NPM
- Android
- mybatis
- react
- xPlatform
- mapreduce
- 보조정렬
- tomcat
- window
Archives
- Today
- Total
728x90
목록2022/02/17 (1)
DBILITY
spring boot rest api cors
간단하게 허용하고 싶은 request mapping에 annotation으로 처리해 보았다. 개발 중인 react app가 3000번 포트에서 실행 중이고, springboot rest api는 9090으로 운영 중에 요청 처리를 한 것이다. 서버 쪽에서 허용을 해주는 것이므로, 요청하는 app의 경로를 적어 주면 되나 보다. package com.dbility.apps.dev.test; import lombok.extern.slf4j.Slf4j; import org.springframework.web.bind.annotation.CrossOrigin; import org.springframework.web.bind.annotation.GetMapping; import org.springframework..
java/spring boot
2022. 2. 17. 16:00
728x90