Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/api_url.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down