# Hoppscotch
1. [TL;DR](#tldr)
1. [Further readings](#further-readings)
1. [Sources](#sources)
## TL;DR
Setup
```sh
brew install --cask 'hoppscotch'
```
Set environment variables to use with a next request:
```js
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 `<>`.
post-request scripts == tests.
## Further readings
- [Website]
- [Main repository]
- [Documentation]
Alternatives:
- [Bruno]
- [httpie]
- [Postman]
### Sources
[bruno]: bruno.md
[httpie]: httpie.md
[postman]: postman.md
[documentation]: https://docs.hoppscotch.io/
[main repository]: https://github.com/hoppscotch/hoppscotch
[website]: https://hoppscotch.com/