Skip to content

Instantly share code, notes, and snippets.

@antonkrasov
Created May 9, 2022 02:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antonkrasov/7b16904b6e109309e8c61d160c8b02a7 to your computer and use it in GitHub Desktop.
Save antonkrasov/7b16904b6e109309e8c61d160c8b02a7 to your computer and use it in GitHub Desktop.
curl --location --request GET '<https://us-central1-givemefirebasetoken-sample.cloudfunctions.net/protectedEndpoint>' \\
--header 'x-api-token: eyJhbGciOiJSUzI1NiIsImtpZ....09HlrF49MRWo9qq0_c6UiMHdBZUavNXyuFyjC85dpSxJrNtJSwH5OQa22dIwdbNmfMqz6ljAivIkjw5aX2GrF5ViFCdp4Tew5iw'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment