You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A regression in Seldon-Core 1.7.0 (and possibly many earlier versions) from 0.4.9 on the /predict API.
POST request with a proper JSON payload no longer working.
Only FORM data is supported, because a curl command without an explicit Content-Type header results in application/x-www-form-urlencoded or multipart/form-data.
Describe the bug
A regression in Seldon-Core 1.7.0 (and possibly many earlier versions) from 0.4.9 on the
/predict
API.POST request with a proper JSON payload no longer working.
According to the docs here (and also the code):
https://docs.seldon.io/projects/seldon-core/en/latest/reference/upgrading.html#wrapper-compatibility-table
Only FORM data is supported, because a curl command without an explicit
Content-Type
header results inapplication/x-www-form-urlencoded
ormultipart/form-data
.The JSON call from the docs does not work:
To reproduce
This call used to work in 0.4.9 (and probably a few versions after)
The above call no longer works and you get:
Expected behaviour
Get a valid response like before for the following curl calls:
Environment
Seldon-Core 1.7.0
Java Wrapper Jar 0.4.1
Java Wrapper image 0.2.0
Model Details
N/A
The text was updated successfully, but these errors were encountered: