Skip to content

Instantly share code, notes, and snippets.

@garybernhardt
Created September 8, 2015 05:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save garybernhardt/538c8b8111fe68164c26 to your computer and use it in GitHub Desktop.
Save garybernhardt/538c8b8111fe68164c26 to your computer and use it in GitHub Desktop.
failbowl:~(master) $ curl 'http://maps.google.com/?saddr=St.%20Petersburg%20Shavrova%2015&daddr=St.%20Petersburg%20Sadovaya%2030&dirflg=r&output=json'
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="http://maps.google.com/maps?saddr=St.%20Petersburg%20Shavrova%2015&amp;daddr=St.%20Petersburg%20Sadovaya%2030&amp;dirflg=r&amp;output=json">here</A>.
</BODY></HTML>
failbowl:~(master) $ curl 'http://maps.google.com/maps?saddr=St.%20Petersburg%20Shavrova%2015&amp;daddr=St.%20Petersburg%20Sadovaya%2030&amp;dirflg=r&amp;output=json'
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="https://www.google.com:443/maps/dir/St.+Petersburg+Shavrova+15/">here</A>.
</BODY></HTML>
failbowl:~(master) $ curl 'https://www.google.com:443/maps/dir/St.+Petersburg+Shavrova+15/'
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="https://www.google.com/maps/dir/St.+Petersburg+Shavrova+15/?dg=dbrw&amp;newdg=1">here</A>.
</BODY></HTML>
failbowl:~(master) $ curl 'https://www.google.com/maps/dir/St.+Petersburg+Shavrova+15/?dg=dbrw&amp;newdg=1'
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="https://www.google.com/maps/dir/St.+Petersburg+Shavrova+15/?amp;newdg=1&amp;dg=dbrw&amp;newdg=1">here</A>.
</BODY></HTML>
failbowl:~(master) $ curl 'https://www.google.com/maps/dir/St.+Petersburg+Shavrova+15/?amp;newdg=1&amp;dg=dbrw&amp;newdg=1'
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="https://www.google.com/maps/dir/St.+Petersburg+Shavrova+15/?amp;newdg=1&amp;amp;dg=dbrw&amp;amp;newdg=1&amp;dg=dbrw&amp;newdg=1">here</A>.
</BODY></HTML>
failbowl:~(master) $ curl 'https://www.google.com/maps/dir/St.+Petersburg+Shavrova+15/?amp;newdg=1&amp;amp;dg=dbrw&amp;amp;newdg=1&amp;dg=dbrw&amp;newdg=1'
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="https://www.google.com/maps/dir/St.+Petersburg+Shavrova+15/?amp;newdg=1&amp;amp;amp;dg=dbrw&amp;amp;amp;newdg=1&amp;amp;dg=dbrw&amp;amp;newdg=1&amp;dg=dbrw&amp;newdg=1">here</A>.
</BODY></HTML>
failbowl:~(master) $ curl 'https://www.google.com/maps/dir/St.+Petersburg+Shavrova+15/?amp;newdg=1&amp;amp;amp;dg=dbrw&amp;amp;amp;newdg=1&amp;amp;dg=dbrw&amp;amp;newdg=1&amp;dg=dbrw&amp;newdg=1'
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="https://www.google.com/maps/dir/St.+Petersburg+Shavrova+15/?amp;newdg=1&amp;amp;amp;amp;dg=dbrw&amp;amp;amp;amp;newdg=1&amp;amp;amp;dg=dbrw&amp;amp;amp;newdg=1&amp;amp;dg=dbrw&amp;amp;newdg=1&amp;dg=dbrw&amp;newdg=1">here</A>.
</BODY></HTML>
failbowl:~(master) $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment