Skip to content

HTTPie and Credentials

synedra-datastax edited this page Mar 10, 2021 · 10 revisions

⚒️ HTTPie and Credentials

You have a couple of options at this point. If you've already got Node and Python 3.3 installed on your system, you can do the exercises right on your local system, which gives you the ability to tweak them and play with them as you wish into the future. The GitPod option makes it possible to just start up a development environment with a single click and get right to the exercises. You'll get enough time to do either in the workshop.

Objectives In this step, we will:

  1. Set up IDE
  2. Set up credentials for httpie and @astrajs
  3. Verify Credentials with HTTPie

1. Setup IDE

IMPORTANT! Don't forget to save when making code changes in your IDE or you might not get expected results.

To code during the workshop you can either use your laptop or the Cloud-based IDE Gitpod with everything installed.

Choose ONE of the following (GitPod or Local):


GitPod online IDE (recommended)

Here we explain the Gitpod way

Gitpod is a cloud based IDE based on Eclipse Theia very similar to VSCode. You need to authenticate with your Github account and GitPod will initialize your workspace, building the solution. To initialize your environment follow the instructions below.

Gitpod ready-to-code

Gitpod ready-to-code

2. Set Up Credentials

✅ Step 1a: Go back to the Astra UI and click the CONNECT button on the line for the database you just created.

This will bring you to the Connect page.

image

Clone this wiki locally