Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
RocketChat
Rocket.Chat.js.SDK
Commits
9bb7011e
Commit
9bb7011e
authored
May 07, 2018
by
Tim Kinnane
Browse files
docs(readme): Fix method heading typo
parent
cdebd442
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
9bb7011e
...
...
@@ -432,7 +432,7 @@ have used the API.
Returns boolean status of existing login
### `api.post(endpoint, data[, auth, ignore])
### `api.post(endpoint, data[, auth, ignore])
`
Make a POST request to the REST API
-
`endpoint`
- The API resource ID, e.g.
`channels.info`
...
...
@@ -440,7 +440,7 @@ Make a POST request to the REST API
-
`auth`
- If authorisation is required (defaults to true)
-
Returns promise
### `api.get(endpoint, data[, auth, ignore])
### `api.get(endpoint, data[, auth, ignore])
`
Make a GET request to the REST API
-
`endpoint`
- The API endpoint resource ID, e.g.
`users.list`
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment