# How to change payload option '--data' in Postman request

**URL:** <https://community.postman.com/t/how-to-change-payload-option-data-in-postman-request/25640>\
**Category:** Help Hub\
**Tags:** data, curl, options\
**Created:** [July 9, 2021, 2:31pm UTC](https://community.postman.com/t/how-to-change-payload-option-data-in-postman-request/25640 "2021-07-09T14:31:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zavodchikof](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/zavodchikof/32/9131_2.png) [@zavodchikof](https://community.postman.com/u/zavodchikof)\
**Post date:** [July 9, 2021, 2:31pm UTC](https://community.postman.com/t/how-to-change-payload-option-data-in-postman-request/25640/1 "2021-07-09T14:31:35Z")

</div>

I need to retrieve data from external system. It successfully accept request like this:

> curl --data “authKey=” [http://app.arnica.pro/primehill/primeHillApi/entryPoint/method/getClients](http://app.arnica.pro/primehill/primeHillApi/entryPoint/method/getClients)

But when I try to make this request in Postman it fails.

I think that it happens because Postman send payload with other option. For example, if i choose option `x-www-form-urlencoded`, and then go to code → cURL I got this:

> curl --location --request POST ‘[http://app.arnica.pro/primehill/primeHillApi/entryPoint/method/getClients](http://app.arnica.pro/primehill/primeHillApi/entryPoint/method/getClients)’   
> –header ‘Content-Type: application/x-www-form-urlencoded’   
> –header ‘Cookie: PHPSESSID=hp43k9rog7vtgu6jk9hlbbnlq5’   
> –data-urlencode ‘authKey=’

So, payload option is `--data-urlencode` instead of just `--data` now.

I’ve tried to import cURL request that works, but Postman change opton `--data-urlencode` and request failed.

Is there in Postman any options to change it to `--data` manualy?

**UPD:** screenshots of results with different options:

- [form (fail)](https://lh6.googleusercontent.com/5ix9osNGLv__IPudNseXyQr_amKrGypOoyfLPMqRD6TGWvUe-zkxQIFfK5epTdDGIU9Y-ZCtbGfvX0Sdah3HVB_vnvX-2KEhnSqptj40F960Su4Op-ooZg0IVl3t_RCo9CksqZs6)
- [x-www-form-urlencoded (fail)](https://lh4.googleusercontent.com/xamyApmqh7fyy34EFEoZ7ARh6X2mAHrPuD2UxZ5ouxvH7LUovu3BEmNr3vsizsUn5yQCy0El-Vji78Trjba_BwtV5b5-x9I6hNdVFPH0bi38Qwxua6bYFPXJGYUKFiVQkMLh7MHu)
- [not-Postman with `--data` option (success)](https://lh6.googleusercontent.com/GqeigHGIFB-hRh7mmYR1tMcy73hzM4G0DRddrX8FcKtglFMvt30aG6VvzMRoIlwApojWysu-DNtIRRVDyyVeox8qbN52frgHzjjTeY06j6dX7NDywyjHiY6yvWB8T1MuRkz7bJvl)
