Code 401 Javascript Setup

HTTPIE

httpie is a command line http client, which will allow us to check websites and APIs directly from the terminal

  1. Install httpie, by running this command in your terminal:
    • brew install httpie
  2. Confirm proper installation
    • http --version
    • You should see a version number, such as: 2.1.0
  3. Confirm proper operation
    • Type this command in your terminal
    • http https://pokeapi.co/api/v2/pokemon
    • You should see a JSON object representing a list of Pokemon Characters

⇐ Previous | Next