Closed fathimaSheikh closed 7 months ago
Hi @fathimaSheikh, thank you for the report!
We will definitely update the okhttp dependency to the latest version (4.12), but I am confused about the problem because according to the okhttp code the correct order of the arguments in RequestBody.create()
is to put the content first and then the content type, see here. The other order (content type first) that you suggest is deprecated.
Describe the bug With 4.10 version of okhttp, there's a breaking change with use of function
RequestBody.create(payload, JSON)
. It's changed toRequestBody.create(JSON, payload)
Expect Would be great to have the dependency updated and fix complier issue.
Version Works with version 4.9.3 Compiler errors with version 4.10
complete the following information):**