You must log in or # to comment.
The repo: https://git.sakamoto.pl/laudom/http.sh
An example:
#!/bin/bash echo '<html><head><meta charset="utf-8"></head><body>' if [[ ! "${get_data[example]}" ]]; then echo '<form> <input type="text" name="example"> <input type="submit"> </form>' else echo "<p>you sent: $(html_encode "${get_data[example]}")</p>" fi echo '</body></html>'
Its so…ugly to me but someone wanted it. Better than Cobol on wheelchair framework thats for sure.