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://eddloschi--5d6c7a49cf9047fc9d4efb29f08646d6.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
- headersExampleeddloschi--72…c0.web.val.run
- htmlExampleeddloschi--53…b5.web.val.run
- jsonBodyParsingeddloschi--6b…3a.web.val.run
- jsonOkExampleeddloschi--f0…46.web.val.run
- queryParamseddloschi--e6…7c.web.val.run
- honoeddloschi--97…ff.web.val.run
- preacteddloschi--a6…0f.web.val.run
- reacteddloschi--8d…6c.web.val.run
- solideddloschi--18…f5.web.val.run
- vueeddloschi--a7…7f.web.val.run
- exampleHTTPeddloschi--5d…d6.web.val.run
- fetsExampleeddloschi--ef…f3.web.val.run
- honoExampleeddloschi--7a…9d.web.val.run
- ittyExampleeddloschi--21…18.web.val.run
- nhttpExampleeddloschi--de…d7.web.val.run
- pekoExampleeddloschi--70…30.web.val.run