Changing our queries from GET to POST
The C-Client is using the C-Service through an REST API generated by Sofa.
The C-Client is coded in Kotlin. Kotlin provides a library named Ktor to make HTML requests. With Kotlin Multiplatform, Ktor uses differents engine to processes the network request.
The Js engine uses the Js fetch API internally. But we have an error when we are trying to make a get request in javascript:
Error: Fail to fetch
We decided to temporarily use POST instead of GET method in our queries: getObject and getObjects. With Sofa, it can be done easily. See Sofa website.