Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the access token key in header doc more prominent #1020

Open
wants to merge 1 commit into
base: 7.x-1.x
Choose a base branch
from
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