Skip to main content

Your First Request

Let's send your first API request using Nidra. This guide will walk you through creating a simple GET request.

Creating a Request

  1. Open Nidra and create a new collection or use the default collection
  2. Click "New Request" to create a new HTTP request
  3. Enter the URL: Try a simple API like https://api.github.com/users/octocat
  4. Select the HTTP method: GET is selected by default
  5. Click "Send" to execute the request

Understanding the Response

After sending the request, you'll see:

  • Status Code: The HTTP status code (e.g., 200 OK)
  • Response Time: How long the request took
  • Response Size: The size of the response
  • Response Body: The actual response data (JSON, XML, HTML, etc.)
  • Headers: Response headers from the server

Adding Headers

Many APIs require headers for authentication or content negotiation:

  1. Click on the Headers tab
  2. Add a header (e.g., Accept: application/json)
  3. Send the request again

Adding Query Parameters

For GET requests with query parameters:

  1. Click on the Params tab
  2. Add key-value pairs (e.g., per_page=10)
  3. Nidra automatically updates the URL
  4. Send the request

Saving Your Request

Don't lose your work - save the request for later:

  1. Click the Save button
  2. Give your request a name
  3. Choose a collection to save it in

Next Steps

Now that you've sent your first request: