Thread: event examples give Error 400: Bad Request

Started: 2013-04-15 18:27:05
Last activity: 2013-04-15 18:27:05
Topics: Web Services
Philip Crotwell
2013-04-15 18:27:05
2 of the 4 examples on this page are wrong, and generate errors if you try
them:
http://service.iris.edu/fdsnws/event/1/

Not sure why the first fails. The second one just needs "yes" changed to
"true".

Philip


Error 400: Bad Request: Not enough search parameters.

Request:http://service.iris.edu/fdsnws/event/1/query?minmagnitude=8.5

Request Submitted:
2013/04/15 15:23:44 UTC

Service version:
fdsnws-event: v 1.0.1


Error 400: Bad boolean value for includeallmagnitudes: yes

Request:http://service.iris.edu/fdsnws/event/1/query?starttime=2011-01-07T14:00:00&endtime=2011-02-07&minlatitude=15&maxlatitude=40&minlongitude=-170&maxlongitude=170&includeallmagnitudes=yes&orderby=magnitude

Request Submitted:
2013/04/15 15:24:10 UTC

Service version:
fdsnws-event: v 1.0.1

Page built 01:57:23 | v.6a0a3e16