From 52bf29009984b21152ad6548c1789c104b51df11 Mon Sep 17 00:00:00 2001 From: Amitai Burstein Date: Sun, 18 Mar 2018 12:29:15 +0200 Subject: [PATCH] Make the access token key in header doc more prominent --- docs/api_url.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api_url.md b/docs/api_url.md index 5a5447b7..c8672f8c 100644 --- a/docs/api_url.md +++ b/docs/api_url.md @@ -208,6 +208,8 @@ curl https://example.com/api/v1.3/articles/1?access_token=YOUR_TOKEN curl -H "access-token: YOUR_TOKEN" https://example.com/api/v1.3/articles/1 ``` +* Note above that in the header the `access-token` is with a dash and not an underscore. + ## Change request formatter By default Restful module allows for any **Content-type** requests by setting the ```Accept: */*```. This means that you can make requests in the format you want (of course if this format is available on the restful plugins).