A Node REST service to provide Stocazzo as an asset for your application.
Will return a "stocazzo".
Optional parameters:
Standard API call:
$ http get stocazzo.io
HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:03:08 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding
{
"response": "stocazzo"
}
Example with a query:
$ http get stocazzo.io q==chi\?
HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:06:07 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding
{
"query": "chi?",
"response": "stocazzo"
}
Example with even more emphasis:
$ http get stocazzo.io q==chi\? big==1
HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:08:34 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding
{
"query": "chi?",
"response": "stograncazzo"
}
Will return a "stocazzo", but caps. So, "STOCAZZO".
Optional parameters:
Standard API call:
$ http get stocazzo.io/caps
HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:03:08 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding
{
"response": "STOCAZZO"
}
Example with a query:
$ http get stocazzo.io/caps q==chi\?
HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:06:07 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding
{
"query": "chi?",
"response": "STOCAZZO"
}
Example with even more emphasis:
$ http get stocazzo.io/caps q==chi\? big==1
HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:08:34 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding
{
"query": "chi?",
"response": "STOGRANCAZZO"
}
Camelcase can always be useful. Will return a "StoCazzo".
Optional parameters:
Standard API call:
$ http get stocazzo.io/camel
HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:03:08 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding
{
"response": "StoCazzo"
}
Example with a query:
$ http get stocazzo.io/camel q==chi\?
HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:06:07 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding
{
"query": "chi?",
"response": "StoCazzo"
}
Example with even more emphasis:
$ http get stocazzo.io/camel q==chi\? big==1
HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:08:34 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding
{
"query": "chi?",
"response": "StoGranCazzo"
}
You want a translation in your language and you don't like text or you want print it more nerdly? No problem, will return "8====D".
Optional parameters:
Standard API call:
$ http get stocazzo.io/ascii
HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:03:08 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding
{
"response": "8====D"
}
Example with a query:
$ http get stocazzo.io/ascii q==chi\?
HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:06:07 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding
{
"query": "chi?",
"response": "8====D"
}
Example with even more emphasis:
$ http get stocazzo.io/ascii q==chi\? big==1
HTTP/1.1 200 OK
Connection: keep-alive
Date: Sat, 08 Aug 2015 16:08:34 GMT
Transfer-Encoding: chunked
cache-control: no-cache
content-encoding: gzip
content-type: application/json; charset=utf-8
vary: accept-encoding
{
"query": "chi?",
"response": "8=======D"
}
—
$ claude mcp add stocazzo \
-- python -m otcore.mcp_server <graph>