We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When Java wrapper (0.1 and 0.2) is deployed with executor one need to send requests as application-form data. See:
with executor
curl -s -X POST \ -d 'json={"data": {"names": ["a", "b"], "ndarray": [[1.0, 2.0]]}}' \ localhost:8003/seldon/seldon/compat-rest-java-02-executor/api/v1.0/predictions
with engine
curl -s -X POST -H 'Content-Type: application/json' \ -d '{"data": {"names": ["a", "b"], "ndarray": [[1.0, 2.0]]}}' \ localhost:8003/seldon/seldon/compat-rest-java-02-engine/api/v1.0/predictions
Error when trying:
curl -s -X POST -H 'Content-Type: application/json' \ -d '{"data":{"names":["a","b"],"ndarray":[[1.0,2.0]]}}' \ localhost:8003/seldon/seldon/compat-rest-java-02-executor/api/v1.0/predictions { "timestamp": 1585152322210, "status": 400, "error": "Bad Request", "exception": "org.springframework.web.bind.MissingServletRequestParameterException", "message": "Required String parameter 'json' is not present", "path": "/predict" }
The text was updated successfully, but these errors were encountered:
We have an upgrade path for the wrapper and users should convert to latest https://docs.seldon.io/projects/seldon-core/en/latest/reference/upgrading.html#wrapper-compatibility-table
Sorry, something went wrong.
No branches or pull requests
When Java wrapper (0.1 and 0.2) is deployed with executor one need to send requests as application-form data. See:
with executor
curl -s -X POST \ -d 'json={"data": {"names": ["a", "b"], "ndarray": [[1.0, 2.0]]}}' \ localhost:8003/seldon/seldon/compat-rest-java-02-executor/api/v1.0/predictions
with engine
Error when trying:
The text was updated successfully, but these errors were encountered: