aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
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