<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"><base href="x-msg://19/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Hi Carl,</div><div><br></div><div>For your wget command, instead of the --post-data option try the --post-file option. &nbsp;This worked for me:</div><div><br></div><div>wget --debug --post-file foo.in <a href="http://service.iris.edu/fdsnws/dataselect/1/query">http://service.iris.edu/fdsnws/dataselect/1/query</a></div><div><br></div><div>cheers,</div><div>Chad</div><br><div><div>On May 1, 2013, at 10:02 PM, <a href="mailto:Carl.Sandland@ga.gov.au">Carl.Sandland@ga.gov.au</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="EN-AU" link="blue" vlink="purple" style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div class="WordSection1" style="page: WordSection1; "><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Hello,<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">I’m moving my code over to the new FSDN endpoints and am having trouble with the bulkdataselect replacement, dataselect:<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Here is an example input:<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">IC BJT 00 BHE 2005-01-01T00:00:00 2005-01-01T00:10:00<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">IC BJT 00 BHN 2005-01-01T00:00:00 2005-01-01T00:10:00<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">IC BJT 00 BHZ 2005-01-01T00:00:00 2005-01-01T00:10:00<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Here is my wget command:<br>$ wget --debug --post-data foo.in<a href="http://service.iris.edu/fdsnws/dataselect/1/query" style="color: purple; text-decoration: underline; ">http://service.iris.edu/fdsnws/dataselect/1/query</a><o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">And here is the result:<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">----------------------- snip<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Setting --post-data (postdata) to foo.in<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">DEBUG output created by Wget 1.11.4 Red Hat modified on linux-gnu.<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">--2013-05-02 14:39:17--&nbsp;<a href="http://service.iris.edu/fdsnws/dataselect/1/query" style="color: purple; text-decoration: underline; ">http://service.iris.edu/fdsnws/dataselect/1/query</a><o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Resolving<span class="Apple-converted-space">&nbsp;</span><a href="http://proxy.ga.gov.au" style="color: purple; text-decoration: underline; ">proxy.ga.gov.au</a>... 10.7.64.209<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Caching<span class="Apple-converted-space">&nbsp;</span><a href="http://proxy.ga.gov.au" style="color: purple; text-decoration: underline; ">proxy.ga.gov.au</a><span class="Apple-converted-space">&nbsp;</span>=&gt; 10.7.64.209<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Connecting to<span class="Apple-converted-space">&nbsp;</span><a href="http://proxy.ga.gov.au" style="color: purple; text-decoration: underline; ">proxy.ga.gov.au</a>|10.7.64.209|:8080... connected.<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Created socket 3.<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Releasing 0x000000000db41ba0 (new refcount 1).<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">---request begin---<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">POST<span class="Apple-converted-space">&nbsp;</span><a href="http://service.iris.edu/fdsnws/dataselect/1/query" style="color: purple; text-decoration: underline; ">http://service.iris.edu/fdsnws/dataselect/1/query</a>HTTP/1.0<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">User-Agent: Wget/1.11.4 Red Hat modified<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Accept: */*<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Host:<span class="Apple-converted-space">&nbsp;</span><a href="http://service.iris.edu" style="color: purple; text-decoration: underline; ">service.iris.edu</a><o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Content-Type: application/x-www-form-urlencoded<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Content-Length: 6<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">---request end---<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">[POST data: foo.in]<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Proxy request sent, awaiting response...<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">---response begin---<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">HTTP/1.1 400 Bad Request<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Via: 1.1 PROXY3<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Connection: close<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Proxy-Connection: close<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Date: Thu, 02 May 2013 04:39:18 GMT<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Content-Type: text/plain<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Server: Apache-Coyote/1.1<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Access-Control-Allow-Origin: *<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Vary: Accept-Encoding<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">---response end---<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">400 Bad Request<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Closed fd 3<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">2013-05-02 14:39:18 ERROR 400: Bad Request.<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">------------------ end snip<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Any help would be greatly appreciated: hopefully it’s a simple user error…<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Cheers,<o:p></o:p></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p>&nbsp;</o:p></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><b><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(51, 51, 51); ">Carl Sandland&nbsp;<br></span></b><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(51, 51, 51); ">Software Consultant&nbsp; |&nbsp; Nuclear Monitoring Project</span><span style="font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p></o:p></span></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(51, 51, 51); ">Minerals and Natural Hazards Division&nbsp;<span class="Apple-converted-space">&nbsp;</span></span><b><span style="font-size: 10pt; font-family: 'Times New Roman', serif; color: rgb(51, 51, 51); ">|</span></b><span style="font-size: 10pt; font-family: 'Times New Roman', serif; color: rgb(51, 51, 51); "><span class="Apple-converted-space">&nbsp;</span>&nbsp;</span><b><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(51, 51, 51); ">GEOSCIENCE AUSTRALIA</span></b><span style="font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p></o:p></span></div></div><div style="margin-bottom: 6pt; "><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 7px; "><b><span style="font-family: Arial, sans-serif; color: rgb(41, 98, 125); ">__________________________________________________</span></b><b><span style="font-family: Arial, sans-serif; color: rgb(148, 54, 52); ">__________</span></b><span style="font-size: 12pt; line-height: 8px; font-family: 'Times New Roman', serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(51, 51, 51); ">Phone:&nbsp; +61 2 6249 5800&nbsp;&nbsp;&nbsp; Fax:&nbsp; +61 2 6249 9999</span><span style="font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p></o:p></span></div></div><div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 9pt; font-family: Arial, sans-serif; color: rgb(51, 51, 51); ">Email:&nbsp;<span class="Apple-converted-space">&nbsp;</span><a href="mailto:Carl.Sandland@ga.gov.au" title="mailto:Carl.Sandland@ga.gov.au" style="color: purple; text-decoration: underline; "><span style="color: rgb(51, 51, 51); text-decoration: none; ">Carl.Sandland@ga.gov.au</span></a>&nbsp;&nbsp;&nbsp; Web:&nbsp;<span class="Apple-converted-space">&nbsp;</span><a href="http://www.ga.gov.au/" title="http://www.ga.gov.au/" style="color: purple; text-decoration: underline; "><span style="color: rgb(51, 51, 51); text-decoration: none; ">www.ga.gov.au</span></a></span><span style="font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p></o:p></span></div></div><div style="margin-top: 6pt; "><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(51, 51, 51); ">Cnr Jerrabomberra Avenue and Hindmarsh Drive Symonston ACT</span><span style="font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p></o:p></span></div></div><div style="margin-bottom: 6pt; "><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(51, 51, 51); ">GPO Box 378 Canberra ACT 2601 Australia</span><span style="font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p></o:p></span></div></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><b><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(51, 51, 51); ">Applying geoscience to Australia’s most important challenges</span></b><o:p></o:p></div></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>_______________________________________________<br>webservices mailing list<br><a href="mailto:webservices@iris.washington.edu" style="color: purple; text-decoration: underline; ">webservices@iris.washington.edu</a><br><a href="http://www.iris.washington.edu/mailman/listinfo/webservices" style="color: purple; text-decoration: underline; ">http://www.iris.washington.edu/mailman/listinfo/webservices</a><br></div></blockquote></div><br></body></html>