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 | 29 | 30 |
Tags
- ๊ฐ๋ฐ์์ค๋น #์ปดํจํฐ๊ณตํ๊ณผ
- ๋์ ํ ๋น๋ฒ
- ๋ฏธ๊ตญ์ฌํ #๋ฏธ๊ตญ์ ๊ตญ์ฌํ
- C++
- html #css์ ๋ฌธ #visual studio
- 2579
- GitHub
- ๋ฐฑ์ค
- HTML์ ๋ฌธ
Archives
- Today
- Total
๐๊ฐ๋ฐ๊ณผ ์ผ์ (โงโโฆ)๏พ
[Nest.js] ERROR [ExceptionsHandler] Cannot read properties of undefined (reading 'post') ์๋ฌ ํด๊ฒฐ ๋ณธ๋ฌธ
web/Node.js Express
[Nest.js] ERROR [ExceptionsHandler] Cannot read properties of undefined (reading 'post') ์๋ฌ ํด๊ฒฐ
๊ฐ์์ 2022. 11. 17. 03:48Nest.js ๋ด์์ HTTP ๋ชจ๋์ธ axios ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๋ด post ๋ฉ์๋๋ฅผ ์ฌ์ฉํ์ฌ url์ ๊ฐ์ ์ ์กํ๋ ค๊ณ ํ๋ค...

service ๋ด์ axio๋ import ํ๋๋ฐ ์ ์๋๋ ์ถ์๋๋
import axio from 'axios';
๋ก axios๋ฅผ ๋ถ๋ฌ์ค๊ฒ ๋๋ฉด nest.js ๋ด axios๋ฅผ ์ฌ์ฉํ๊ฒ ๋๊ธฐ ๋๋ฌธ์ ๋ชป์ฐพ๋๋ค.

์ด ๋ฐฉ์์ผ๋ก axios ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ๋ถ๋ฌ์์ผ ์จ์ ํ๊ฒ ์ฌ์ฉ ๊ฐ๋ฅํ๋ค...
์ ๋ง ์ฌ์ํ ์ค์์ธ๋ฐ ์ด ์ค๋ฅ๋ก ์๊ฐ์ ์ก์๋จน์๋ค....
'web > Node.js Express' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Nest.js] nest ๋ช ๋ น์ด ์ธ์ ์ค๋ฅ (0) | 2022.11.09 |
---|---|
Nest.js ์ด๋? + ์ค์น (1) | 2022.10.08 |
React Native ๋? (0) | 2022.08.10 |