curl -F

From wikieduonline
Jump to navigation Jump to search

curl --help
-F, --form <name=content> Specify multipart MIME data
    --form-string <name=string> Specify multipart MIME data

Slack API

 curl -F token=xoxp-... -F team_id=T1234 -F user_id=U1234 https://slack.com/api/admin.users.remove
OAuth
  curl -F code=1234 -F client_id=3336676.569200954261 -F client_secret=ABCDEFGH https://slack.com/api/oauth.v2.access


curl -X POST -F 'name=linuxize'

See also[edit]

Advertising: