Skip to content

Commit

Permalink
fix the remaining headers in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ttezel committed Jun 1, 2018
1 parent dd952eb commit 642e62c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,11 @@ The endpoint to hit. When specifying `path` values, omit the **'.json'** at the
- `data` is the parsed data received from Twitter.
- `response` is the [http.IncomingMessage](http://nodejs.org/api/http.html# http_http_incomingmessage) received from Twitter.

## T.post(path, [params], callback)`
## `T.post(path, [params], callback)`

POST any of the REST API endpoints. Same usage as `T.get()`.

## T.postMediaChunked(params, callback)`
## `T.postMediaChunked(params, callback)`

Helper function to post media via the POST media/upload (chunked) API. `params` is an object containing a `file_path` key. `file_path` is the absolute path to the file you want to upload.

Expand Down

0 comments on commit 642e62c

Please sign in to comment.