Readme

Accepts messages via either JSON or a message query parameter. Responds with a JSON body with the message in all upper case.

So, either ?message=hello or

{ "message": "hello"}

will produce a JSON response of:

{ "message": "HELLO" }

This is intended a test standin for a real chat server.

Code
HTTP
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
curtcox-shoutyjson.web.val.run
Updated: February 11, 2025