Forrest logo
back to context overview

twurl

List of commands for twurl:

  • twurl:tldr:0ea25 twurl: Create an alias for a requested resource.
    $ twurl alias ${alias_name} ${resource}
    try on your machine
    explain this command
  • twurl:tldr:5a8d2 twurl: Make a POST request to an API endpoint.
    $ twurl -X POST -d '${endpoint_params}' ${twitter_api_endpoint}
    try on your machine
    explain this command
  • twurl:tldr:85753 twurl: Make a GET request to an API endpoint.
    $ twurl -X GET ${twitter_api_endpoint}
    try on your machine
    explain this command
  • twurl:tldr:a5cb8 twurl: Authorize `twurl` to access a Twitter account.
    $ twurl authorize --consumer-key ${twitter_api_key} --consumer-secret ${twitter_api_secret}
    try on your machine
    explain this command
  • twurl:tldr:cb97b twurl: Access a different Twitter API host.
    $ twurl -H ${twitter_api_url} -X GET ${twitter_api_endpoint}
    try on your machine
    explain this command
  • twurl:tldr:ef82c twurl: Upload media to Twitter.
    $ twurl -H "${twitter_upload_url}" -X POST "${twitter_upload_endpoint}" --file "${path-to-media-jpg}" --file-field "media"
    try on your machine
    explain this command
back to context overview