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

Unable to use POST in my searches #229

Open
rjdenham opened this issue Mar 27, 2023 · 0 comments
Open

Unable to use POST in my searches #229

rjdenham opened this issue Mar 27, 2023 · 0 comments

Comments

@rjdenham
Copy link

I'm using an inhouse STAC server, using resto. As far as I can tell, resto doesn't allow POST for search, only GET. Which means from the qgis plugin, I get the following type of error:

2023-03-27T12:31:19     CRITICAL    Problem in fetching content for http://address.of.mystac.server:30000.Error details, {"ErrorMessage":"Method Not Allowed","ErrorCode":405}
2023-03-27T12:32:00     INFO    Getting API conformance classes...
2023-03-27T12:32:00     INFO    19 conformance class(es) was found
2023-03-27T12:32:09     INFO    Testing connection...

I couldn't see a way to set 'method="GET"' in the query interface. Is this possible? If not, do you think this could be added?

Search from pystac client works ok for me, provided I use the 'method="GET"' argument.

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

No branches or pull requests

1 participant