diff options
author | adamw <adam@warski.org> | 2017-07-28 15:29:26 +0200 |
---|---|---|
committer | adamw <adam@warski.org> | 2017-07-28 15:29:26 +0200 |
commit | b1bffcbd4fd4fd5f7526dc39643ad2f1b31f527d (patch) | |
tree | 8317a06db764e7588f229e8fb3f0f48c5441d125 | |
parent | e41df3e3c8d936022607e117b6ef55fd9f2b155d (diff) | |
download | sttp-b1bffcbd4fd4fd5f7526dc39643ad2f1b31f527d.tar.gz sttp-b1bffcbd4fd4fd5f7526dc39643ad2f1b31f527d.tar.bz2 sttp-b1bffcbd4fd4fd5f7526dc39643ad2f1b31f527d.zip |
Fixing type in readme
-rw-r--r-- | README.md | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |