From 4cd61b1a05829610406dedc76868c0c73a1c413b Mon Sep 17 00:00:00 2001 From: Lucas <33911520+portolucas@users.noreply.github.com> Date: Sun, 28 Jul 2019 14:31:52 -0300 Subject: [PATCH] Sintaxe alternative to send data into the body --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 2533e8d73f..a87ad2b15e 100755 --- a/README.md +++ b/README.md @@ -286,6 +286,11 @@ These are the available config options for making requests. Only the `url` is re data: { firstName: 'Fred' }, + + // sintaxe alternative to send data into the body + // method post + // only the value is sent, not the key + data: 'Country=Brasil&City=Belo Horizonte', // `timeout` specifies the number of milliseconds before the request times out. // If the request takes longer than `timeout`, the request will be aborted.