Free fake HTML responses for testing and prototyping hypermedia applications.
Powered by django, htmx, and sqlite
Try it! Documentation
<table>
<tr>
<th>Header 1</th>
<th>Header 2</th>
</tr>
<tr>
<td>Data 1</td>
<td>Data 2</td>
</tr>
</table>
Run this code here, in a replit or from any site:
<button hx-get='https://html-mock.fly.dev/tag/table?class=table%20table-bordered'> Get </button>
// your results will be displayed here
mock-html is a free online Hypermedia REST API that you can use whenever you need some fake HTML data. It can be used for testing, prototyping, or just for fun.
You can use it to test your htmx or hyperscript code quickly without spinning up your own web server
All resources accepts GET/POST/PUT/DELETE requests
Simply make a public Github Gist and make a request to our server with the ID
Again - using htmx, you can do this from any site or client.
<button hx-get='https://html-mock.fly.dev/gist/c9fd72b8f8a265d8bfcdb4338ffc76fa'> Get Gist </button>
// your results will be displayed here
Coded and maintained with ❤️ by Jonathan Adly