This tutorial walks you through a first session in Hoppscotch using a free practice API, JSONPlaceholder. It returns realistic fake data and accepts writes without saving them, so you can experiment safely. Everything works the same in the web app and the desktop app.

1. Send a GET request

  1. Open Hoppscotch. You start on the REST screen.
  2. Make sure the method on the left of the address bar says GET.
  3. Enter https://jsonplaceholder.typicode.com/users/1
  4. Click Send (or press Ctrl + Enter, ⌘ + Enter on a Mac).

The response panel shows a status of 200, how long the request took, the size of the response and a nicely formatted JSON body describing one user.

2. Read the response

  • Status — 2xx means success, 4xx means the request was wrong (for example 404, not found), 5xx means the server had a problem.
  • Body — switch between the formatted view and raw text. You can copy the body or download it as a file.
  • Headers — the response headers tab shows details such as content-type and caching rules.

Try changing the URL to /users/999 and sending again. You’ll get a 404 — a useful reminder to always check the status, not just the body.

3. Add query parameters

Change the URL to https://jsonplaceholder.typicode.com/posts. Open the Parameters tab below the address bar and add a row with key userId and value 1. Hoppscotch adds ?userId=1 to the URL for you. Send it, and only posts written by user 1 come back.

You can untick a parameter to disable it temporarily without deleting it — handy when comparing results.

4. Send a POST request with JSON

  1. Change the method to POST and the URL to https://jsonplaceholder.typicode.com/posts.
  2. Open the Body tab and choose the content type application/json.
  3. Paste this body:
    {
      "title": "Hello from Hoppscotch",
      "body": "My first POST request",
      "userId": 1
    }
  4. Click Send.

The API answers with status 201 Created and echoes your data with a new id. (JSONPlaceholder doesn’t really store it, so a later GET won’t find it.)

5. Add a header

Open the Headers tab and add, for example, Accept with the value application/json. Many real APIs also expect an API key in a header such as X-API-Key. For tokens, the dedicated Authorization tab is a better place.

6. Import a cURL command

API documentation often shows examples as cURL commands. Instead of copying each part by hand, use the Import cURL option in the REST screen, paste a command like this and confirm:

curl -X POST https://jsonplaceholder.typicode.com/posts \
  -H "Content-Type: application/json" \
  -d '{"title":"from curl","userId":2}'

Hoppscotch fills in the method, URL, headers and body automatically.

7. Generate code for your app

Once a request works, open the code generation option to get the same request as code — for example JavaScript fetch, Python requests or a cURL command — ready to paste into your project.

8. Save the request

Click Save and store the request in a new collection called “Practice”. Every request you send also appears in History, so nothing is lost if you forget.

Next steps