We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6918302 commit 02aba3fCopy full SHA for 02aba3f
src/stac_api_validator/validations.py
@@ -361,7 +361,7 @@ def retrieve(
361
362
if resp.status_code != status_code:
363
errors += (
364
- f"[{context}] {method} {url} params={params} body={body}"
+ f"[{context}] {method} {url} params={params} body={json.dumps(body) if body else ''}"
365
f" had unexpected status code {resp.status_code} instead of {status_code}: {additional}"
366
)
367
@@ -1793,7 +1793,7 @@ def validate_item_search_bbox(
1793
if Method.POST in methods:
1794
# Valid POST query
1795
_, body, resp_headers = retrieve(
1796
- Method.GET,
+ Method.POST,
1797
search_url,
1798
errors,
1799
Context.ITEM_SEARCH,
0 commit comments