Created
October 15, 2024 18:12
-
-
Save BFTrick/eaceb8a6bfbdb79d911b81486626dfa9 to your computer and use it in GitHub Desktop.
Get an access token for Ship Hero's API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
curl -X POST -H "Content-Type: application/json" -d \ | |
'{ "username": "EMAILHERE", | |
"password": "PWHERE" | |
}' \ | |
"https://public-api.shiphero.com/auth/token" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to use this script:
cd /path/to/your/script chmod +x ship-hero-access-token.bash ./ship-hero-access-token.bash