aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authoradamw <adam@warski.org>2017-07-28 15:29:26 +0200
committeradamw <adam@warski.org>2017-07-28 15:29:26 +0200
commitb1bffcbd4fd4fd5f7526dc39643ad2f1b31f527d (patch)
tree8317a06db764e7588f229e8fb3f0f48c5441d125 /README.md
parente41df3e3c8d936022607e117b6ef55fd9f2b155d (diff)
downloadsttp-b1bffcbd4fd4fd5f7526dc39643ad2f1b31f527d.tar.gz
sttp-b1bffcbd4fd4fd5f7526dc39643ad2f1b31f527d.tar.bz2
sttp-b1bffcbd4fd4fd5f7526dc39643ad2f1b31f527d.zip
Fixing type in readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/README.md b/README.md
index d80fac4..5664ba0 100644
--- a/README.md
+++ b/README.md
@@ -131,12 +131,11 @@ instances, which can then be used to specify request endpoints, for example:
```scala
import com.softwaremill.sttp._
-import java.net.URI
val user = "Mary Smith"
val filter = "programming languages"
-val endpoint: URI = uri"http://example.com/$user/skills?filter=$filter"
+val endpoint: Uri = uri"http://example.com/$user/skills?filter=$filter"
```
Any values embedded in the URI will be URL-encoded, taking into account the