Closed Fabien-Wecasa closed 5 years ago
I propose to use FaradayMiddleware::EncodeJson instead of using to_json on our side. I find it cleaner and it is useful if we want to use the connection in other contexts (in my case: bulk jobs).
FaradayMiddleware::EncodeJson
to_json
I propose to use
FaradayMiddleware::EncodeJson
instead of usingto_json
on our side. I find it cleaner and it is useful if we want to use the connection in other contexts (in my case: bulk jobs).