header-img
Info :
HTTP 2
list_img
Spring boot :: ์™ธ๋ถ€ http ๋ถˆ๋Ÿฌ์™€ body ๊ฐ’ ๋ฆฌํ„ดํ•˜๋Š” RequestUtil (Proxy Server ๊ธฐ๋Šฅ)
2024.02.20
๋‚ด๊ฐ€ ํ•˜๊ณ  ์‹ถ์—ˆ๋˜ ๊ฒƒ์€ http:~ ๋กœ ๋œ ์ฃผ์†Œ์— ๋‹ด๊ธด API data ๋ฅผ ๋‚ด๊ฐ€ ๊ตฌํ˜„ํ•œ ์„œ๋ฒ„์—์„œ ์ œ๊ณตํ•˜๋Š” ๊ฑฐ ์˜€์Œ. ๊ณ ๋กœ ๋‚ด๊ฐ€ ๊ตฌํ˜„ํ•œ ์„œ๋ฒ„์—์„œ ํ”„๋ก์‹œ ์„œ๋ฒ„์˜ ์—ญํ• ์„ ํ•ด์ฃผ์–ด์•ผ ํ•˜๋Š” ๊ฒƒ. ์ด๋•Œ ๋ญ RestTemplete ์ด๋‹ˆ WebClient ๋‹ˆ ์„ค์น˜ํ•˜๊ณ  ์…‹ํŒ…ํ•˜๊ณ ... ๋„ˆ๋ฌด ๊ท€์ฐฎ์•˜์Œ. ๊ทธ๋ž˜์„œ ๊ฐ„๋‹จ ver ๋กœ requestUtil ์„ ๋งŒ๋“ค์–ด๋ณด์•˜๋‹ค. import org.springframework.http.HttpEntity; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; import org.springframework.http.ResponseEntity; import org.springframewo..
React :: Mixed Content ์—๋Ÿฌ ํ•ด๊ฒฐ
2023.11.01
Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure resource ''. This request has been blocked; the content must be served over HTTPS. Mixed Content ๋ฌธ์ œ๋Š” https ์‚ฌ์ดํŠธ์—์„œ http ์‚ฌ์ดํŠธ๋กœ ์š”์ฒญ์„ ๋ณด๋‚ผ ์‹œ์— ๋ฐœ์ƒํ•˜๋Š” ๋ณด์•ˆ ๋ฌธ์ œ ์ค‘ ํ•˜๋‚˜. https ์‚ฌ์ดํŠธ์—์„œ ajax๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋น„๋™๊ธฐ๋กœ http ์‚ฌ์ดํŠธ์— ์š”์ฒญ์„ ๋ณด๋‚ด์–ด ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•œ ๊ฒƒ์ธ๋ฐ.. ์•”ํ˜ธํ™”๋œ https ๊ธฐ๋ฐ˜์˜ ์‚ฌ์ดํŠธ์—์„œ ์•”ํ˜ธํ™”๋˜์ง€ ์•Š์€ http ์‚ฌ์ดํŠธ๋กœ ์š”์ฒญ์„ ๋ณด๋‚ด๋‹ˆ.. ๋ฌธ์ œ๊ฐ€ ๋ฐœ์ƒํ•œ ๊ฒƒ. ํ•ด๊ฒฐ ๋ฐฉ๋ฒ• index.html ํŒŒ์ผ head์— ์•„๋ž˜ ๋ฌธ๋ฒ•์„ ์ถ”๊ฐ€ํ•œ๋‹ค.