mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

* common/t*: add Korean translation * tldr: update Korean translation * Update tcc.md * Update pages.ko/common/tcc.md Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> * Update pages.ko/common/tar.md Co-authored-by: Chooooo <contact@choo.ooo> * Update pages.ko/common/tarsnap.md Co-authored-by: Chooooo <contact@choo.ooo> * Update pages.ko/common/tarsnap.md Co-authored-by: Chooooo <contact@choo.ooo> * Update pages.ko/common/transfersh.md Co-authored-by: Chooooo <contact@choo.ooo> * Update pages.ko/common/tuir.md Co-authored-by: Chooooo <contact@choo.ooo> * Update pages.ko/common/twine.md Co-authored-by: Chooooo <contact@choo.ooo> * Update pages.ko/common/twine.md Co-authored-by: Chooooo <contact@choo.ooo> --------- Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Chooooo <contact@choo.ooo>
28 lines
899 B
Markdown
28 lines
899 B
Markdown
# twurl
|
|
|
|
> Twitter API에 특화된 Curl과 유사한 명령어.
|
|
> 더 많은 정보: <https://github.com/twitter/twurl>.
|
|
|
|
- Twitter 계정에 대한 접근을 승인:
|
|
|
|
`twurl authorize --consumer-key {{트위터_API_키}} --consumer-secret {{트위터_API_비밀}}`
|
|
|
|
- API 엔드포인트에 GET 요청 수행:
|
|
|
|
`twurl -X GET {{트위터_API_엔드포인트}}`
|
|
|
|
- API 엔드포인트에 POST 요청 수행:
|
|
|
|
`twurl -X POST -d '{{엔드포인트_파라미터}}' {{트위터_API_엔드포인트}}`
|
|
|
|
- Twitter에 미디어 업로드:
|
|
|
|
`twurl -H "{{트위터_업로드_URL}}" -X POST "{{트위터_업로드_엔드포인트}}" --file "{{경로/대상/미디어.jpg}}" --file-field "media"`
|
|
|
|
- 다른 Twitter API 호스트에 접근:
|
|
|
|
`twurl -H {{트위터_API_URL}} -X GET {{트위터_API_엔드포인트}}`
|
|
|
|
- 요청한 리소스에 대한 별칭 생성:
|
|
|
|
`twurl alias {{별칭_이름}} {{리소스}}`
|