# HTTPie

HTTPie (opens new window) is a command line HTTP client with an intuitive UI, JSON support, syntax highlighting, wget-like downloads, plugins, and more. HTTPie runs on Windows, mac, linux, etc. The following are examples of using HTTPie to access the Knowledge Object and executing the Knowledge Object service. Below examples of using HTTPie access the js simple hello world KO (opens new window) KO Service.

  1. Install HTTPie (opens new window)
  2. Navigate to your terminal
  3. type the GET or POST requests below

Get the js simple hello world KO metadata using HTTPie

 http GET https://activator-playground.herokuapp.com/kos/js/simple

Executing the Ten-year Fatal Cardiovascular Risk Calculation KO service using HTTPie

 http POST https://activator-playground.herokuapp.com/js/simple/welcome name=Alex

click to enlarge

Last Updated: 4/19/2021, 8:44:26 PM