#1 India's Top IT Training Institute

×

About Uncodemy

Know more about who we are and what we stand for.

About Us

About Us

Discover our mission to equip individuals with essential IT skills and industry expertise.

Read More →
UnCodeMy Gallery

UnCodeMy Gallery

Explore highlights from our IT training sessions and success stories.

Read More →
×

Free Resources

Learn, practice and plan your career — bilkul free.

Tutorials

Tutorials

Step-by-step written tutorials to learn any technology at your own pace.

Read More →
Free Counselling

Free Counselling

Book a free video counselling session and pick the right course for you.

Read More →
Online Compiler

Online Compiler

Write, run and test your code online — no setup required.

Read More →

Sending GraphQL Queries, Mutations, and Variables

GraphQL vs REST in Postman

Postman has a dedicated GraphQL request mode, which sends a single POST request containing a query string and variables, instead of many different REST endpoints.

Writing a Query

The GraphQL tab includes a Query editor with schema-aware autocomplete (when the schema is available), making it easy to select fields and nested objects to return.

Using Variables

PartPurpose
QueryDefines what data to fetch or which mutation to run
GraphQL VariablesSupplies dynamic values referenced in the query, e.g. $id

Sending Mutations

Mutations follow the same structure as queries but are used to create, update, or delete data - Postman sends them the same way, just with a mutation defined in the query editor.

Whether REST or GraphQL, every API also needs to be checked for weaknesses - let's move into testing for vulnerabilities and rate limiting.

Ready to master Postman API Testing Course?

Join Uncodemy's hands-on training and build real-world API testing skills with expert mentors.

Explore Course