Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POST 500 #34

Closed
Jollyfant opened this issue May 23, 2017 · 2 comments
Closed

POST 500 #34

Jollyfant opened this issue May 23, 2017 · 2 comments
Assignees
Labels

Comments

@Jollyfant
Copy link
Contributor

Hi Javier, I installed the new WebDC 3 and made a request for FDSN-Station but it broke routing:

req.txt:

service=station
format=json
NL OPLO -- BHE 2007-05-01T00:00:00.0000Z 2017-05-23T23:59:59.0000Z
NL VKB -- BHE 2007-05-01T00:00:00.0000Z 2017-05-23T23:59:59.0000Z
NL WIT -- BHE 2007-05-01T00:00:00.0000Z 2017-05-23T23:59:59.0000Z

curl -X POST -d req.txt http://geofon.gfz-potsdam.de/eidaws/routing/1/query

and the service returns an internal service error.

@javiquinte javiquinte self-assigned this May 24, 2017
@javiquinte javiquinte added the bug label May 24, 2017
@javiquinte
Copy link
Collaborator

Fixed in commit a5ece76
In any case, test it with
wget --post-file=req.txt "http://rz-vm258.gfz-potsdam.de/eidaws/routing/nightly/query"
because curl seems to create problems with the newline chars. :-(

@feuchner
Copy link

With curl, you have to use the --data-binary option instead of -d.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants