Skip to content

Instantly share code, notes, and snippets.

@AndyA
Last active August 29, 2015 14:08
Show Gist options
  • Select an option

  • Save AndyA/1705c56440a6b257feff to your computer and use it in GitHub Desktop.

Select an option

Save AndyA/1705c56440a6b257feff to your computer and use it in GitHub Desktop.
Something lame?
$ curl http://web171.ch.bbcarchdev.net/labs/social/search/30?q=john+peel
{"status":"OK","id":"4914","graph":[{"name":"jeff griffin","id":"701","count":"180"},{"name":"harry parker","count":"124","id":"12348"},{"count":"84","id":"988","name":"paula mcginley"},{"id":"67270","count":"64","name":"alison hughes"},{"name":"michael hurll","count":"56","id":"3614"},{"name":"fiona hill","id":"20626","count":"46"},{"name":"john walters","count":"42","id":"255"},{"name":"steve lamacq","id":"1100","count":"42"},{"name":"jon curie","count":"42","id":"31506"},{"count":"40","id":"93","name":"denis okeeffe"},{"name":"john f muir","id":"5693","count":"36"},{"id":"9626","count":"36","name":"jacqueline smith"},{"id":"15614","count":"36","name":"tony palmer"},{"id":"35487","count":"36","name":"richard neville"},{"name":"bella bannerman","count":"36","id":"49346"},{"name":"chris berthoud","count":"36","id":"52209"},{"count":"34","id":"925","name":"ronald fletcher"},{"id":"2298","count":"32","name":"robin boyle"},{"id":"54014","count":"32","name":"david jensen"},{"id":"81316","count":"31","name":"michael proudfoot"},{"name":"jo whiley","id":"3840","count":"29"},{"id":"36543","count":"26","name":"angela huth"},{"name":"rebecca armstrong","id":"79165","count":"26"},{"name":"abiola awojobi","count":"20","id":"105591"},{"id":"6544","count":"18","name":"richard skinner"},{"name":"phill jupitus","count":"18","id":"6877"},{"name":"sally flatman","id":"8442","count":"18"},{"name":"producer jeff griffin","id":"69178","count":"18"},{"id":"699","count":"16","name":"michael appleton"},{"id":"5629","count":"16","name":"cathy drysdale"}],"name":"john peel"}
$ curl http://web172.ch.bbcarchdev.net/labs/social/search/30?q=john+peel
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
[no address given] and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>
$ hostname
web166.ch.internal
$ ping db106.ch.internal
PING db106.ch.internal (10.50.0.106) 56(84) bytes of data.
64 bytes from db106.ch.internal (10.50.0.106): icmp_req=1 ttl=64 time=0.496 ms
64 bytes from db106.ch.internal (10.50.0.106): icmp_req=2 ttl=64 time=2401 ms
64 bytes from db106.ch.internal (10.50.0.106): icmp_req=3 ttl=64 time=1393 ms
64 bytes from db106.ch.internal (10.50.0.106): icmp_req=4 ttl=64 time=385 ms
64 bytes from db106.ch.internal (10.50.0.106): icmp_req=5 ttl=64 time=0.563 ms
^C
--- db106.ch.internal ping statistics ---
7 packets transmitted, 5 received, 28% packet loss, time 6019ms
rtt min/avg/max/mdev = 0.496/836.057/2401.113/933.721 ms, pipe 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment