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 | 31 |
Tags
- WSL
- curl
- kubernetes
- ubuntu
- 워커노드
- 묘공단
- ALB
- 코어 쿠버네티스
- network namespace
- web ide
- containerd
- Docker
- 컨테이너
- vscode
- 중첩가상화
- kubernets
- 쿠버네티스
- 504
- windows
- 도커
- 패스워드 재설정
- ansible
- calico
- Kind
- 네트워크 네임스페이스
- nested virtualization
- passwd
- go
- code-server
- Pane
Archives
- Today
- Total
a story
VS Code에서 REST 테스트 하기 본문
Postman 으로 REST 테스트를 수행할 수 있지만 VS Code에서도 Rest Client를 통해 REST 테스트를 할 수 있다.
VS Code의 Extention에서 Rest Client 를 설치한다.
코드가 있는 위치에서 http.test 파일을 생성한다.
GET http://localhost:3000/students
###
POST http://localhost:3000/students
Content-Type: application/json
{
"Id": 0,
"Name":"ccc",
"Age":15,
"Score":75
}
VS Code 에서 'Send Request'를 누르면 요청이 전달되고, Response를 확인할 수 있다.
'기타' 카테고리의 다른 글
wsl: docker, kind 설치 (0) | 2023.11.05 |
---|---|
curl 에 timeout 주기 (0) | 2023.10.04 |
개행문자(\n)를 줄바꿈으로 변환하기 (0) | 2022.03.19 |
Browser IDE, code-server 사용해보기 (0) | 2022.03.18 |
Windows 에서 ubuntu 의 x window 띄우기 (우분투 GUI 띄우기) (0) | 2022.02.11 |