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

JSONPlaceholder

· 6년 전 · 1323

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

댓글 작성

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

로그인하기

게시글 목록

번호 제목
394
393
392
391
390
388
387
386
374
369
368
367
366
365
364
363
362
361
360
359
358
357
356
354
350
344
343
342
341
340