테스트 사이트 - 개발 중인 베타 버전입니다

JSONPlaceholder

· 6년 전 · 1320

https://sir.kr/so_app/1576  여기 글에서 나온 JSONPlaceholder 입니다.

 

https://jsonplaceholder.typicode.com/

 

Resources

JSONPlaceholder comes with a set of 6 common resources:

/posts 100 posts
/comments 500 comments
/albums 100 albums
/photos 5000 photos
/todos 200 todos
/users 10 users

Note: resources have relations. For example: posts have many commentsalbums have many photos, ... see below for routes examples.

Routes

All HTTP methods are supported.

GET /posts
GET /posts/1
GET /posts/1/comments
GET /comments?postId=1
GET /posts?userId=1
POST /posts
PUT /posts/1
PATCH /posts/1
DELETE /posts/1

 

lavuebd에서 하고자 하는 것과 비슷하네요..

 

앱 개발하시는 분들을 위해서 lavuebd와 비슷하게  fake JSON Server를 만들어 보면 좋을 것 같네요.

 

https://github.com/typicode/json-server

 

https://egghead.io/lessons/javascript-creating-demo-apis-with-json-server

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

게시글 목록

번호 제목
339
338
337
336
333
332
331
330
329
322
316
311
308
307
304
296
291
289
288
282
279
278
277
275
272
271
269
267
264
261