View on GitHub

URL Echo

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

Download this project as a .zip file Download this project as a tar.gz file


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:

URL builder

Instead of constructing URLs by hand, use the handy form below.


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 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, sometims 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.