Postman JSON: Name and Send Data

In Postman, you can specify that the data being sent is in JSON format by setting the “Content-Type” in the request header to “application/json”. If you want to specify the name of the JSON data, you can directly write the JSON data in the request body.

{
  "name": "John Doe",
  "age": 30
}

This way, you can send JSON data with a specified name in Postman.

bannerAds