Search code examples
restgithubjekyllreadonlygithub-pages

read-only rest service on github


i'm wondering if it's possible to use a github repository, especially the project pages branch combined with jekyll as a read-only rest service.

Does anyone got some experiences with this?

Or maybe a other solution? (github only)


Solution

  • REST stands for Representational State Transfer. A read-only site, by definition, can't perform state transfer. If you wanted to use GitHub pages to host JSON or XML documents that can be retrieved with HTTP GET requests, then that could conceivably work, but that isn't REST.