-
Hi,
lately I've been implementing an endpoint, that endpoint can fail with errors modelled by ADT, something like:
```scala
sealed trait MyError extends Product with Serializable
object MyError {
…
-
Currently with `uri` i can specify only full URL to a resource like
```
basicRequest.method(Method.GET, uri"https://api.github.com/search/repositories?q=$query&sort=$sort")
```
Would be be…
-
With akka-http backend and a request like this:
```
basicRequest
.post(uri"https://some-uri.nowhere")
.body(Map("a" -> "A"))
.send()
```
akka http spams the log with war…
-
After updating scala-native to 0.4.0-M2, the `CurlBackend` unfortunately broke.
The update was necessary due to update of scalatest. Here are the changes that I've made to make compilation pass: ht…
adamw updated
4 years ago
-
The circe module for ScalaJS is published only for 2.11 and 2.12. (see https://repo1.maven.org/maven2/com/softwaremill/sttp/client/)
I'm building a library that depends on it, so this is preventing…
-
Hi! We're migrating from 0.14 to 0.16, and previously we used to be able to change the effect of a `ServerEndpoint` quite easily. That was possible because there was no `MonadError` in the logic part:…
-
My production code deserializes a request if it the response was successful (since `asJson` :
```
def execute[A](request: SttpRequest[A]) =
request.send.flatMap(response =>
response.body mat…
-
with the [standalone play-ws client](https://github.com/playframework/play-ws) one can do `.withRequestFilter(...)` and plug in an OOTB (out-of-the-box) provided `AhcCurlRequestLogger` to see each ind…
-
The schema defined for the `io.circe.Json` data type (https://github.com/softwaremill/tapir/blob/master/json/circe/src/main/scala/sttp/tapir/json/circe/TapirJsonCirce.scala#L25-L31), currently generat…
-
Quite a few package name changes in 2.x
https://github.com/softwaremill/sttp/releases/tag/v2.0.0-RC1
Thanks.