Introduction

This sample is demonstrating how to use Everest REST API client in the browser, using traditional global variable export. Everest exports itself as a global variable : window.everest or window.ê

EverestJs is also usable as an AMD-module.

Key concepts

This sample triggers a call to the github api after creating a new Rest client. The call result is displayed in the panel under the form.

Open your browser javascript console and check the source to see what is going on under the hood.

  • Shows how to set up your script references
  • Shows how to create a new RestApi client
  • Shows how to trigger an api read request (GET) and handle the outcome