Ok2Curl
Ok2Curl copied to clipboard
Convert OkHttp requests into curl logs.
* OkHttp version 5 is coming. Do some research what needs to be changed in order to make Ok2Curl compatible with OkHttp * https://github.com/square/okhttp/blob/master/CHANGELOG.md#version-500-alpha9
* Sample app uses `IntentService` and this class is deprecated * Replace with something new (WorkManager maybe or even something simpler Callback in OkHttp?)
From backend I'm receiving a header like this: `etag: "estoesunapruebadeetag"` the `"` are part of the etag. OkHttp when I call this endpoint again it adds this header: `If-None-Match: "estoesunapruebadeetag"`....
The logger should be a [functional interface](https://kotlinlang.org/docs/fun-interfaces.html#migration-from-an-interface-with-constructor-function-to-a-functional-interface)
I've been using 0.5.0 for a while now. All of a sudden today when running a build, I get: ``` * What went wrong: Execution failed for task ':app:androidDependencies'. >...