# Postman importing incorrect body Content-type

**URL:** <https://community.postman.com/t/postman-importing-incorrect-body-content-type/39414>\
**Category:** Help Hub\
**Tags:** openapi\
**Created:** [September 23, 2022, 11:30am UTC](https://community.postman.com/t/postman-importing-incorrect-body-content-type/39414 "2022-09-23T11:30:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkazimirowicz](https://avatars.discourse-cdn.com/v4/letter/p/a587f6/32.png) [@pkazimirowicz](https://community.postman.com/u/pkazimirowicz)\
**Post date:** [September 23, 2022, 11:30am UTC](https://community.postman.com/t/postman-importing-incorrect-body-content-type/39414/1 "2022-09-23T11:30:26Z")

</div>

_My question_:  
On what basis Postman is building the request body part?  
Why Postman is deciding that the request body is application/x-www-form-urlencoded?

The expected result is application/json with json request body.

_Details (like screenshots)_:  
OpenAPI version: 2.0  
Schema for one request

“/api/v{version:apiVersion}/ActivityTypesAdmin”: {  
“post”: {  
“tags”: [  
“ActivityTypeAdmin”  
],  
“operationId”: “ActivityTypeAdmin\_Add”,  
“consumes”: [  
“text/json”,  
“application/xml”,  
“text/xml”,  
“application/x-www-form-urlencoded”,  
“application/json”  
],  
“produces”: [  
“application/json”,  
“text/json”,  
“application/xml”,  
“text/xml”  
],  
“parameters”: [  
{  
“name”: “activityTypeModel”,  
“in”: “body”,  
“required”: true,  
“schema”: {  
“$ref”: “#/definitions/Web.Models.ActivityTypeModel”  
}  
},  
{  
“name”: “version:apiVersion”,  
“in”: “path”,  
“required”: true,  
“type”: “string”  
}  
],  
“responses”: {  
“200”: {  
“description”: “OK”,  
“schema”: {  
“$ref”: “#/definitions/Web.Models.ActivityTypeModel”  
}  
}  
}  
}  
},

**Definition**

“Web.Models.ActivityTypeModel”: {  
“type”: “object”,  
“properties”: {  
“Id”: {  
“format”: “int32”,  
“type”: “integer”  
},  
“Name”: {  
“type”: “string”  
},  
“ShowInHistory”: {  
“type”: “boolean”  
},  
“ShowFirmAttendees”: {  
“type”: “boolean”  
},  
“ShowExternalAttendees”: {  
“type”: “boolean”  
},  
“ShowComments”: {  
“type”: “boolean”  
},  
“CanBeDeleted”: {  
“type”: “boolean”  
}  
}  
},

_Effect in the Postman after import_:  
 ![obraz](https://us1.discourse-cdn.com/getpostman/original/2X/b/bf5f505154854e4d00fde7cab23156d4f43c1c24.png)
