The banner in the Browser
This page runs the linux tool banner in the browser. banner prints out the first 10 characters of text in large letters. It also provides the API for users to call the function.
API (Application Programming Interface)
The API following has a
rate-limit 1 call per
second.
https://helloacm.com/api/banner/?msg=abc
It will return JSON-encoded data:
"\n ## ##### ####\n # # # # # #\n # # ##### #\n ###### # # #\n # # # # # #\n # # ##### ####\n\n"
If
$_GET parameter
s is not specified, this API will use the
$_POST variable
msg instead.
curl -X POST https://helloacm.com/api/banner/ -d "msg=Banner Rocks!"
Principle
We use the linux command
banner.
NAME
banner - print large banner
SYNOPSIS
banner text
DESCRIPTION
banner prints out the first 10 characters of text in large letters.
SEE ALSO
banner(6).