# Difference in cURL After Import?

**URL:** <https://community.postman.com/t/difference-in-curl-after-import/44745>\
**Category:** Help Hub\
**Created:** [March 3, 2023, 9:50pm UTC](https://community.postman.com/t/difference-in-curl-after-import/44745 "2023-03-03T21:50:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spacecraft-geoscie13](https://avatars.discourse-cdn.com/v4/letter/s/ce73a5/32.png) [@spacecraft-geoscie13](https://community.postman.com/u/spacecraft-geoscie13)\
**Post date:** [March 3, 2023, 9:50pm UTC](https://community.postman.com/t/difference-in-curl-after-import/44745/1 "2023-03-03T21:50:06Z")

</div>

Hello,

Newbie question. I’ve copied and imported a cURL statment as raw text from an application where it appears to be working into Postman. When I look at the code snippet (cURL) within Postman, it looks a bit different and when I send (post) I get a 400 Bad Request.

Imported (working) cURL:

curl -X POST --header ‘Content-Type: application/json’ --header ‘Accept: application/json’ -d ‘{ \   
“UserName”: “John%[40Doe.com](http://40Doe.com)”, \   
“Password”: “XXXXXxxxxx1” \   
}’ ‘[http://testapp.local/Challenge](http://testapp.local/Challenge)’

Postman Generated code snippet:

curl ‘[http://testapp.local/Challenge](http://testapp.local/Challenge)’   
–header ‘Content-Type: application/json’   
–header ‘Accept: application/json’   
–data ‘{ \   
“UserName”: “John%[40Doe.com](http://40Doe.com)”, \   
“Password”: “XXXXXxxxxx1” \   
}’

Most notably, I see a missing -X POST. Is that causing a problem? If so, what/how should I proceed? Thoughts?

Thanks
