Files
oam/knowledge base/hoppscotch.md
2025-01-12 22:39:57 +01:00

1.4 KiB

Hoppscotch

  1. TL;DR
  2. Self-hosting
  3. Further readings
    1. Sources

TL;DR

Setup
brew install --cask 'hoppscotch'

Set environment variables to use with a next request:

const jsonData = pw.response.body;                // Save the JSON payload response
pw.env.set("accessToken", jsonData.access_token); // Set "accessToken" to the value of "access_token" in the response
pw.env.set("idToken", jsonData.id_token);         // Set "idToken" to the value of "id_token" in the response

Access the variables in the request section by referencing the variable in the format <<variable_name>>.

Post-request scripts == tests.

Self-hosting

TODO

Further readings

Alternatives:

Sources