FastAPI POST endpoint returning "Field required" when sending dictionary from Jython

Try this, because some servers are bad at negotiating HTTP_2 downgrades.

Make this call:
client = system.net.httpClient()

Into:
client = system.net.httpClient(version="HTTP_1_1")

1 Like