2.12.0 • Published 1 year ago
fedorsay v2.12.0

Examples
o o
\ /
---------
(| 0 0 |)
| o |
---------
| | /\_/\
| | ( o.o )
| | > ^ <
-------------
/| RN |\ \/
/| | | |\ /
/ \| |/ \ /
/ | | \/
| | |
| -------------
| | | | |
/\ | | | |
| | | |
| | | |
|| ||
|| ||
__|| ||__
/___/ \___\
fedor - robotInstall
npm install fedorsayUsage
fedorsay some textAPI
POST /api/say
curl -X POST http://localhost:3000/api/say -H "Content-Type: application/json" -d '{"message": "Hi!"}'
answer
{
"art": "Hello, I'm robot fedor and I'm here."
}
----------------------------
GET /api/greet
curl http://localhost:3000/api/greet
answer
{
"greeting": "Hello from robot fedor API!"
}
When using the API, don't forget to start the server with npm start.Web Interface
The web interface allows users to send POST
and GET requests to generate ASCII art messages.Running the Web Server
To run the web server, follow these steps:
1. node webfedorserver.js
2. open - http://localhost:30002.11.0
1 year ago
2.12.0
1 year ago
2.10.0
1 year ago
2.9.0
1 year ago
2.7.0
1 year ago
2.6.0
1 year ago
2.5.0
1 year ago
2.4.0
1 year ago
2.3.0
1 year ago
2.2.0
1 year ago
2.1.0
1 year ago
2.0.0
1 year ago
1.1.0
1 year ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago