# Show GN: Test API - Simple API that is (maybe) useful for testing

> Clean Markdown view of GeekNews topic #6759. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=6759](https://news.hada.io/topic?id=6759)
- GeekNews Markdown: [https://news.hada.io/topic/6759.md](https://news.hada.io/topic/6759.md)
- Type: show
- Author: [nallwhy](https://news.hada.io/@nallwhy)
- Published: 2022-06-15T13:28:38+09:00
- Updated: 2022-06-15T13:28:38+09:00
- Original source: [json.media](https://www.json.media/test_api)
- Points: 9
- Comments: 7

## Topic Body

개발하고 있는 서비스에서 외부 API 요청이 timeout 이 나면 어떻게 될까를 시뮬레이션 해보려다가 귀찮아서 만들었습니다.  
  
해당 API 에 원하는 status code, response body, timeout 을 설정해서 request 하면, 원하는 response 를 받으실 수 있습니다.  
  
다른 분들에게도 쓸모가 있을지 잘 모르겠네요 ㅎㅎ

## Comments



### Comment 10538

- Author: kunggom
- Created: 2022-06-15T13:41:20+09:00
- Points: 1

직접 만드신 거라면 Show GN 쪽으로 올리시는 것이 좋을 것 같습니다.

### Comment 10540

- Author: nallwhy
- Created: 2022-06-15T13:50:37+09:00
- Points: 1
- Parent comment: 10538
- Depth: 1

삭제를 어떻게 하는 건지 잘 모르겠네요...

### Comment 10542

- Author: kunggom
- Created: 2022-06-15T14:15:34+09:00
- Points: 1
- Parent comment: 10540
- Depth: 2

@xguru 님께 옮겨달라고 요청해야 할 것 같습니다.

### Comment 10539

- Author: nallwhy
- Created: 2022-06-15T13:49:50+09:00
- Points: 1
- Parent comment: 10538
- Depth: 1

오 몰랐네요 거기로 옮기겠습니다

### Comment 10544

- Author: moderator
- Created: 2022-06-15T15:17:59+09:00
- Points: 1
- Parent comment: 10539
- Depth: 2

Show GN 으로 변경되었습니다

### Comment 10537

- Author: kunggom
- Created: 2022-06-15T13:40:20+09:00
- Points: 1

아주 단순한 버전의 [Mockbin](https://mockbin.com/) 같은 서비스라고 보면 되나요?

### Comment 10536

- Author: nallwhy
- Created: 2022-06-15T13:29:29+09:00
- Points: 1

가장 기본적인 요청입니다.  
  
https://json.media/test_api/api?status=200&body=hi&timeout=1
