• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
project logo

slavak

httpdelay

Response a specified message with HTTP status code and delay
Public
Like
1
httpdelay
Home
Code
2
README.md
H
http.tsx
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/6/2025
Viewing readonly version of main branch: v34
View latest version
README.md

httpdelay

A tiny service to get a response with a specified message, status code and delay (in milliseconds).

usage

GET /<HTTP_STATUS_CODE>/<DELAY_IN_MILLISECONDS>/<RESPONSE_MESSAGE>

With "Accept: application/json" header it returns JSON

Example:

curl -v https://httpdelay.val.run/402/1500/HelloLarry

It returns "HelloLarry" content with 402 HTTP status code in 1500 ms

Delay is limited to 60000 ms (60 seconds)

FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2026 Val Town, Inc.