From 364ec4034188829e7f89225d378c884f77d9cf9a Mon Sep 17 00:00:00 2001 From: analog-nico Date: Mon, 16 May 2016 10:12:53 -0700 Subject: [PATCH] chore: improved formatting --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d0f36f7..367807c 100644 --- a/README.md +++ b/README.md @@ -102,9 +102,7 @@ rp(options) ### POST data to a JSON REST API -Set option.body to data, and json:true to encode the body as JSON. See below -for HTML forms. - +Set `option.body` to your data and `json: true` to encode the body as JSON. See below for HTML forms. ``` js var options = { @@ -127,7 +125,7 @@ rp(options) ### POST like HTML forms do -Set option.form to encode the body as HTML form +Set `option.form` to your data to encode the body the same way as HTML forms do. ``` js var options = {