You just need to add the .json files to your repository, and you can access them like a regular JSON API
In the following username.imtqy.com/reponame repository add the following files
posts.json
[ {"id": 1, "title": "Title 1"}, {"id": 2, "title": "Title 2"} ]
users.json
[ {"name": "abc", "email": " abc@example.com "}, {"name": "xyz", "email": " xyz@example.com "} ]
comments.json
[ {"post_id": "1", "text": "Comment 1"}, {"post_id": "2", "text": "Comment 2"} ]
posts.csv
id,title 1,Title 1 2,Title 2
And access them using
http://username.imtqy.com/reponame/posts.jsonhttp://username.imtqy.com/reponame/users.jsonhttp://username.imtqy.com/reponame/comments.jsonhttp://username.imtqy.com/reponame/posts.csv
source share