HTTP_examples
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
https://halloleo--ad63bd6512c14dabb629ff988ae882ff.web.val.run
HTTP triggers let you expose an API or website from your file.
They are built on the web-standard Request and Response objects, so are compatible with a number of web frameworks like Hono and Peko.
These handlers need to export a function that takes a Request
object
as the first parameter and returns a Response
object. The function
can be asynchronous.
This is an example repository on HTTP triggers in Val Town.
Detailed documentation 👉: https://docs.val.town/vals/http/
HTTP
- headersExamplehalloleo--e2…1d.web.val.run
- htmlExamplehalloleo--cf…f5.web.val.run
- jsonBodyParsinghalloleo--fb…1b.web.val.run
- jsonOkExamplehalloleo--58…ab.web.val.run
- queryParamshalloleo--53…20.web.val.run
- honohalloleo--3c…18.web.val.run
- preacthalloleo--8f…58.web.val.run
- reacthalloleo--e1…df.web.val.run
- solidhalloleo--d5…82.web.val.run
- vuehalloleo--24…fc.web.val.run
- exampleHTTPhalloleo--ad…ff.web.val.run
- fetsExamplehalloleo--ca…57.web.val.run
- honoExamplehalloleo--ab…8d.web.val.run
- ittyExamplehalloleo--96…3d.web.val.run
- nhttpExamplehalloleo--75…22.web.val.run
- pekoExamplehalloleo--f0…50.web.val.run