Skip to content

Instantly share code, notes, and snippets.

View NatLee's full-sized avatar
🌵
I NEED SLEEP *FOREVER*

Nat NatLee

🌵
I NEED SLEEP *FOREVER*
View GitHub Profile
@NatLee
NatLee / curl.md
Created March 23, 2022 09:39 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@NatLee
NatLee / API.md
Created February 11, 2020 03:16 — forked from iros/API.md
Documenting your REST API

Title

<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method: