JSONPlaceholder > PHP프레임워크

PHP프레임워크

JSONPlaceholder 정보

기타 JSONPlaceholder

본문

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

추천
0

댓글 0개

전체 289 |RSS
PHP프레임워크 내용 검색

회원로그인

진행중 포인트경매

  1. 참여3 회 시작24.04.19 15:40 종료24.04.26 15:40
(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT