aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authoradamw <adam@warski.org>2017-07-21 17:42:35 +0200
committeradamw <adam@warski.org>2017-07-21 17:42:35 +0200
commite4672280dba7ac587f4a3b0481c1fd40512f00aa (patch)
treedcd38c523bd90daf05be2dc67a048a657ef99b46 /README.md
parent3fd70a6c9f18579328876c952d5d78e893c0d805 (diff)
downloadsttp-e4672280dba7ac587f4a3b0481c1fd40512f00aa.tar.gz
sttp-e4672280dba7ac587f4a3b0481c1fd40512f00aa.tar.bz2
sttp-e4672280dba7ac587f4a3b0481c1fd40512f00aa.zip
Quickstart with Ammonite
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md
index edd0705..6b6786b 100644
--- a/README.md
+++ b/README.md
@@ -49,6 +49,18 @@ backend-specific streaming support
* URI interpolator with context-aware escaping, optional parameters support
and parameter collections
+## Quickstart with Ammonite
+
+If you are an [Ammonite](http://ammonite.io) user, you can quickly start
+experimenting with sttp by copy-pasting the following:
+
+```scala
+import $ivy.`com.softwaremill.sttp::core:0.0.1`
+import com.softwaremill.sttp._
+implicit val handler = HttpURLConnectionSttpHandler
+sttp.get(uri"http://httpbin.org/ip").send()
+```
+
## Adding sttp to your project
SBT dependency: