An introduction to curl using GitHub's API
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
| # npm publish with goodies | |
| # prerequisites: | |
| # `npm install -g trash conventional-recommended-bump conventional-changelog conventional-github-releaser conventional-commits-detector json` | |
| # `np` with optional argument `patch`/`minor`/`major`/`<version>` | |
| # defaults to conventional-recommended-bump | |
| # and optional argument preset `angular`/ `jquery` ... | |
| # defaults to conventional-commits-detector | |
| np() { | |
| travis status --no-interactive && | |
| trash node_modules &>/dev/null; |
| # Auth0 Impersonate | |
| USER_ID_TO_IMPERSONATE="auth0|57dc84..." | |
| ADMIN_USER_ID="auth0|572b9..." | |
| CLIENT_ID="uoKEkF5..." | |
| CLIENT_SECRET="aMgJisByYhrLkV5..." | |
| BEARER="xovAuOGGBKeJh..." | |
| URL=`curl --request POST \ |