FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
craigz
craigzpale-apex-preamble
a simple express app
Public
Like
pale-apex-preamble
Home
Code
8
.gitignore
.vtignore
README.md
deno.json
dev.sh
H
index.http.tsx
local-dev.ts
local-form.html
Branches
1
Pull requests
Remixes
History
Environment variables
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.
Sign up now
Code
/
README.md
Code
/
README.md
Search
6/24/2025
Viewing readonly version of main branch: v26
View latest version
README.md

pale-apex-preamble

a replacement for a simple express app that accepts a url on it's / endpoint and returns the page's source code to the requesting browser.

  • added as a test and to replace a similar application formerly hosted at glitch.
  • moved main app away from express and implemented an HTTP Type val.

app status

  • currently the / endpoint returns a text string and sets the status and Content-Type headers.
  • to replicate the former express app, a get request with a URL query element must be parsed and returned.

original express app form

<form method="GET" action="/"> <label> URL: <input name="url" type="url" required placeholder="URL"> </label> <button type="submit" id="submit">View Source</button> </form> </main> </body> </html>
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
ยฉ 2025 Val Town, Inc.