Spring boot์์ Http request ๋น๋๊ธฐ ์์ฒญํ๊ธฐ
Spring boot๋ก http request ์ฝ๋๋ฅผ ๊ฐ๋ฐํ ๋ ๋น๋๊ธฐ ์ฒ๋ฆฌ๋ก ์์ฒญ ๋ฐ ์ฒ๋ฆฌํ๊ธฐ์ํ ๋ด์ฉ์ ๋๋ค. ๋๊ธฐ๋ฐฉ์์ผ๋ก ํธ์ถํ๊ฒ๋๋ฉด ์์ ํธ์ถ๋ request์ ์๋ต์ด ์๋ฃ๋ ๋๊น์ง ๋ค์์์ฒญ์ด ์คํ๋์ง ๋ชปํ๊ฒ๋๋ฏ๋ก ์ฌ๋ฌ๊ฐ์ request๋ฅผ ๋ณด๋ด๋ ์ํฉ์์๋ ๋ ๋์ ํจ์จ์ ๋ณด์ฌ์ค๋๋ค. ์ด ๊ธ์์ http ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ okhttp3 ๋ฅผ ์ฌ์ฉํฉ๋๋ค. build.gradle์ ์์กด์ฑ ์ถ๊ฐ implementation 'com.squareup.okhttp3:okhttp:3.10.0' ์ฝ๋์์ฑ (๋น๋๊ธฐ ์์ฒญ) public class Helloworld { private void asyncOkHttp() { // http ์์ฒญํ๋ ค๋ URL ๋ฆฌ์คํธ๊ฐ ์๋ค๊ณ ๊ฐ์ List requestUrls = new Array..
spring๐
2023. 10. 26. 17:04
๊ณต์ง์ฌํญ
์ต๊ทผ์ ์ฌ๋ผ์จ ๊ธ
์ต๊ทผ์ ๋ฌ๋ฆฐ ๋๊ธ
- Total
- Today
- Yesterday
๋งํฌ
TAG
- node.js backend
- nestjs directory
- backend-framework
- @nestjs/config
- nestjs module
- nestjs typeorm
- ํ๋ก๊ทธ๋๋จธ์ค
- JavaScript
- Spring
- nestjs/cli
- ์๊ณ ๋ฆฌ์ฆ
- Promise error
- foreignkey
- ๊ธฐ์์ฒญAPI
- Spring Async
- docker mysql
- typeorm
- ๋น๋๊ธฐ ์์ฒญ
- nestjs project
- Request_Limit_Exceeded
- DeferredResult
- android
- nestjs doc
- nestjs config
- NestJS
- node.js
- typeorm ์ฐ๊ฒฐ
- Promise bulk
- sequelize
- nestjs configService
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
๊ธ ๋ณด๊ดํจ