Guide 1.8: Developer Guide

Testing SdashAPI with Postman

Postman is a popular visual tool that allows developers to send HTTP requests to APIs and inspect the responses without writing any code. It is the perfect tool for experimenting with SdashAPI's various endpoints, query parameters, and intelligence levels before integrating them into your actual application.

Step 1: Create a New Request

1.8.1

Open Postman and click the New button, then select HTTP Request. You will be presented with an interface containing a method dropdown (defaulted to GET) and a URL bar.

  • Ensure the method is set to GET.
  • In the URL bar, enter our V1 endpoint: https://sdashapi.com/api/v1/q?type=utme&subject=english

Step 2: Add Your API Key

1.8.2

If you click "Send" right now, you will receive an authentication error because Postman does not know your API key. You need to configure the headers.

  • Directly below the URL bar, click on the Headers tab.
  • In the Key column, type AccessToken.
  • In the Value column, paste your unique API key from the developer dashboard.

Step 3: Inspect the Response

1.8.3

Click the big blue Send button. Postman will fire the request to our servers, and within milliseconds, the lower half of the screen will populate with the response.

Postman automatically formats the JSON data with syntax highlighting, making it incredibly easy to read the question, evaluate the options structure, and see the provided solution. You can now tweak the URL parameters (like changing subject=english to subject=physics) and hit Send again to instantly test how the API behaves!

You've mastered the basics!

Level 1 is complete. Let's move to Level 2 and write actual code.

Next Guide: Using JavaScript →
Avatar

How can we help?

We reply immediately

Hello! 👋 How can we help you today?