<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-AU link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hello,<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I&#8217;m moving my code over to the new FSDN endpoints and am having trouble with the bulkdataselect replacement, dataselect:<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Here is an example input:<o:p></o:p></p><p class=MsoNormal>IC BJT 00 BHE 2005-01-01T00:00:00 2005-01-01T00:10:00<o:p></o:p></p><p class=MsoNormal>IC BJT 00 BHN 2005-01-01T00:00:00 2005-01-01T00:10:00<o:p></o:p></p><p class=MsoNormal>IC BJT 00 BHZ 2005-01-01T00:00:00 2005-01-01T00:10:00<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Here is my wget command:<br>$ wget --debug --post-data foo.in <a href="http://service.iris.edu/fdsnws/dataselect/1/query">http://service.iris.edu/fdsnws/dataselect/1/query</a><o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>And here is the result:<o:p></o:p></p><p class=MsoNormal>----------------------- snip<o:p></o:p></p><p class=MsoNormal>Setting --post-data (postdata) to foo.in<o:p></o:p></p><p class=MsoNormal>DEBUG output created by Wget 1.11.4 Red Hat modified on linux-gnu.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>--2013-05-02 14:39:17--&nbsp; http://service.iris.edu/fdsnws/dataselect/1/query<o:p></o:p></p><p class=MsoNormal>Resolving proxy.ga.gov.au... 10.7.64.209<o:p></o:p></p><p class=MsoNormal>Caching proxy.ga.gov.au =&gt; 10.7.64.209<o:p></o:p></p><p class=MsoNormal>Connecting to proxy.ga.gov.au|10.7.64.209|:8080... connected.<o:p></o:p></p><p class=MsoNormal>Created socket 3.<o:p></o:p></p><p class=MsoNormal>Releasing 0x000000000db41ba0 (new refcount 1).<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>---request begin---<o:p></o:p></p><p class=MsoNormal>POST http://service.iris.edu/fdsnws/dataselect/1/query HTTP/1.0<o:p></o:p></p><p class=MsoNormal>User-Agent: Wget/1.11.4 Red Hat modified<o:p></o:p></p><p class=MsoNormal>Accept: */*<o:p></o:p></p><p class=MsoNormal>Host: service.iris.edu<o:p></o:p></p><p class=MsoNormal>Content-Type: application/x-www-form-urlencoded<o:p></o:p></p><p class=MsoNormal>Content-Length: 6<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>---request end---<o:p></o:p></p><p class=MsoNormal>[POST data: foo.in]<o:p></o:p></p><p class=MsoNormal>Proxy request sent, awaiting response... <o:p></o:p></p><p class=MsoNormal>---response begin---<o:p></o:p></p><p class=MsoNormal>HTTP/1.1 400 Bad Request<o:p></o:p></p><p class=MsoNormal>Via: 1.1 PROXY3<o:p></o:p></p><p class=MsoNormal>Connection: close<o:p></o:p></p><p class=MsoNormal>Proxy-Connection: close<o:p></o:p></p><p class=MsoNormal>Date: Thu, 02 May 2013 04:39:18 GMT<o:p></o:p></p><p class=MsoNormal>Content-Type: text/plain<o:p></o:p></p><p class=MsoNormal>Server: Apache-Coyote/1.1<o:p></o:p></p><p class=MsoNormal>Access-Control-Allow-Origin: *<o:p></o:p></p><p class=MsoNormal>Vary: Accept-Encoding<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>---response end---<o:p></o:p></p><p class=MsoNormal>400 Bad Request<o:p></o:p></p><p class=MsoNormal>Closed fd 3<o:p></o:p></p><p class=MsoNormal>2013-05-02 14:39:18 ERROR 400: Bad Request.<o:p></o:p></p><p class=MsoNormal>------------------ end snip<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Any help would be greatly appreciated: hopefully it&#8217;s a simple user error&#8230;<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Cheers,<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#333333;mso-fareast-language:EN-AU'>Carl Sandland&nbsp;<br></span></b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#333333;mso-fareast-language:EN-AU'>Software Consultant&nbsp; |&nbsp; Nuclear Monitoring Project</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-AU'><o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#333333;mso-fareast-language:EN-AU'>Minerals and Natural Hazards Division&nbsp; </span><b><span style='font-size:10.0pt;font-family:"Times New Roman","serif";color:#333333;mso-fareast-language:EN-AU'>|</span></b><span style='font-size:10.0pt;font-family:"Times New Roman","serif";color:#333333;mso-fareast-language:EN-AU'> &nbsp;</span><b><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#333333;mso-fareast-language:EN-AU'>GEOSCIENCE AUSTRALIA</span></b><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-AU'><o:p></o:p></span></p></div><div style='margin-bottom:6.0pt'><p class=MsoNormal style='line-height:50%'><b><span style='font-family:"Arial","sans-serif";color:#29627D;mso-fareast-language:EN-AU'>__________________________________________________</span></b><b><span style='font-family:"Arial","sans-serif";color:#943634;mso-fareast-language:EN-AU'>__________</span></b><span style='font-size:12.0pt;line-height:50%;font-family:"Times New Roman","serif";mso-fareast-language:EN-AU'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#333333;mso-fareast-language:EN-AU'>Phone:&nbsp; +61 2 6249 5800&nbsp;&nbsp;&nbsp; Fax:&nbsp; +61 2 6249 9999</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-AU'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#333333;mso-fareast-language:EN-AU'>Email:&nbsp; <a href="mailto:Carl.Sandland@ga.gov.au" title="mailto:Carl.Sandland@ga.gov.au"><span style='color:#333333;text-decoration:none'>Carl.Sandland@ga.gov.au</span></a>&nbsp;&nbsp;&nbsp; Web:&nbsp; <a href="http://www.ga.gov.au/" title="http://www.ga.gov.au/"><span style='color:#333333;text-decoration:none'>www.ga.gov.au</span></a></span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-AU'><o:p></o:p></span></p></div><div style='margin-top:6.0pt'><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#333333;mso-fareast-language:EN-AU'>Cnr Jerrabomberra Avenue and Hindmarsh Drive Symonston ACT</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-AU'><o:p></o:p></span></p></div><div style='margin-bottom:6.0pt'><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#333333;mso-fareast-language:EN-AU'>GPO Box 378 Canberra ACT 2601 Australia</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-AU'><o:p></o:p></span></p></div></div><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#333333;mso-fareast-language:EN-AU'>Applying geoscience to Australia&#8217;s most important challenges</span></b><o:p></o:p></p></div>
<P>Geoscience Australia Disclaimer: This e-mail (and files transmitted with it) is intended only for the person or entity to which it is addressed. If you are not the intended recipient, then you have received this e-mail by mistake and any use, dissemination, forwarding, printing or copying of this e-mail and its file attachments is prohibited. The security of emails transmitted cannot be guaranteed; by forwarding or replying to this email, you acknowledge and accept these risks.<br/>-------------------------------------------------------------------------------------------------------------------------<br/>
</P></body></html>