Skip to content
Branch: master
Go to file

Latest commit


Failed to load latest commit information.
Latest commit message
Commit time


URL Echo is an HTTP service for echoing the HTTP response defined in the URL of the request.

The service expects a definition of a HTTP response message in the URL of a request to the service. The service responds with a HTTP response by mirroring the parameters defined in the URL of the request thus echoing the client-defined response.

The URL Echo service is implemented and provided as public, open-source and free to use AppEngine service.

Service API

The service is available at this URL:

The API defines how a HTTP response should be encoded in the service request URLs. Elements of a HTTP response are encoded as URL query parameters:

  • (optional) HTTP status - status parameter; a number representing the HTTP status code of the HTTP response (e.g. status=200). Default value: 200.
  • (optional, multiple) HTTP headers - multiple query parameters specified as headerName=headerValue (e.g. Content-Type=text/plain). Default values: Content-Type=text/plain
  • (optional) HTTP body - body parameter; a string representing the body of the HTTP response (e.g. body=HelloWorld).
  • (optional) debug mode - debugMode parameter; specifies debug mode in which the response is sent as the body in text/plain (e.g. debugMode=1)


Here's an example URL Echo request that defines a HTTP response containing an ATOM feed in the response body:<?xml%20version='1.0'%20encoding='utf-8'?>%20<feed%20xmlns=''>%20<title>Example%20Feed</title>%20<subtitle>A%20subtitle.</subtitle>%20<link%20href=''%20rel='self'%20/>%20<link%20href=''%20/>%20<id>urn:uuid:60a76c80-d399-11d9-b91C-0003939e0af6</id>%20<updated>2003-12-13T18:30:02Z</updated>%20<author>%20<name>John%20Doe</name>%20<email></email>%20</author>%20<entry>%20<title>Atom-Powered%20Robots%20Run%20Amok</title>%20<link%20href=''%20/>%20<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>%20<updated>2003-12-13T18:30:02Z</updated>%20<summary>Some%20text.</summary>%20</entry>%20</feed>&Content-Type=application/atom+xml

And here's the URL Echo HTTP response for the above ATOM feed GET example:

HTTP/1.1 200 OK
Content-Type: application/atom+xml

<?xml version='1.0' encoding='utf-8'?>
<feed xmlns=''>
  <title>Example Feed</title>
  <subtitle>A subtitle.</subtitle>
  <link href='' rel='self' />
  <link href='' />
    <name>John Doe</name>
    <title>Atom-Powered Robots Run Amok</title>
    <link href='' />
    <summary>Some text.</summary>

URL builder

A simple URL builder for URL Echo is available at:


URL echo enables dynamic hosting of HTTP resources within a URL without need for any physical infrastructure (e.g. web servers). The reason for hosting a resource within a URL are links, the glue of the Web. A link functions as a pointer to a web resource - it is a single entity which defines both which resource should be fetched (a URL identifier of the resource) and how the resource should be fetched (HTTP GET request to that URL). Therefore, defining a resource in the URL of a HTTP request makes it widely usable in the existing web architecture by both developers and end-users.

Want to show a web page to someone? With URL echo you wouldn't need to setup a web hosting account with a provider, upload your files to a web host and then share the URL to the web page with your friends. Instead, you would build your web page, encode it's content in a URL, and share the URL with your friends skipping the whole step of hosting. Need a fast way to dynamically create a large number of HTTP resources, for testing or other purposes? Just create the URLs containing the resources on the client side, no need for creating server-side scripts.

Since the resource are defined and contained solely within the URL, URL echo may only be used to host static HTTP resources. However, a significant percentage of all web resources are static resources and in many occasions that's enough. Also, since creating a resource is as easy as constructing a URL, this limitation is irrelevant in use cases where the resource creator has control over all links that point to that URL - a resource is changed by pointing a link at a different URL can easily change the URL of the link to change the resource.


URL shortening

URL Echo URLs are long and ugly since they contain a complete web resource definition (e.g. a web page). Although the URLs are completely functional, sometimes it is more practical to have a shorter version. This is a perfect use case for URL shortening services like URL shortening services produce short URLs from long ones and sending a HTTP request to short URL redirects the request to the long URL.

For example, this is the short version of the ATOM feed URL echo example URL:


URL Echo is developed by Ivan Zuzak <>.


Licensed under the Apache 2.0 License.

gaugestracking alpha


HTTP service for echoing the HTTP response defined in the URL of the request




No releases published


You can’t perform that action at this time.