Logo
Best 6 Tips Buy Verified Neteller Accounts in 2024 API Documentation

RESTful API Basics #blueprint

Number of APIs: 4


🚀 Get started here

This collection guides you through CRUD operations (GET, POST, PUT, DELETE), variables, and tests.

đź”– How to use this collection

Step 1: Send requests

RESTful APIs allow you to perform CRUD operations using the POST, GET, PUT, and DELETE HTTP methods.

This collection contains each of these request types. Open each request and click Send to see what happens.

Step 2: View responses

Observe the response tab for status code (200 OK), response time, and size.

Step 3: Send new Body data

Update or add new data in Body in the POST request. Typically, Body data is also used in PUT and PATCH requests.

{
    "name": "Add your name in the body"
}

Step 4: Update the variable

Variables enable you to store and reuse values in Qodex. We have created a variable called base_url with the sample request https://Qodex-api-learner.glitch.me. Replace it with your API endpoint to customize this collection.

Step 5: Add tests in the Tests tab

Tests help you confirm that your API is working as expected. You can write test scripts in JavaScript and view the output in the Test Results tab.

đź’Ş Pro tips

  • Use folders to group related requests and organize the collection.
  • Add more scripts in Tests to verify if the API works as expected and execute flows.

ℹ️ Resources

[Building requests]
[Authorizing requests]
[Using variables]
[Managing environments]
[Writing scripts]


1. Get data

GET {{base_url}}/info?id=1



2. Post data

POST {{base_url}}/info



3. Update data

PUT {{base_url}}/info?id=1



4.
API Documentation

ENDPOINTS