# Need help with a curl command

**URL:** <https://forum.ansible.com/t/need-help-with-a-curl-command/21164>\
**Category:** Ansible Project\
**Created:** [April 15, 2016, 5:26am UTC](https://forum.ansible.com/t/need-help-with-a-curl-command/21164 "2016-04-15T05:26:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GBANE\_FETIGUE](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@GBANE\_FETIGUE](https://forum.ansible.com/u/GBANE_FETIGUE)\
**Post date:** [April 15, 2016, 5:26am UTC](https://forum.ansible.com/t/need-help-with-a-curl-command/21164/1 "2016-04-15T05:26:36Z")

</div>

Hi folks,

I need help I am trying to translate a curl into ansible YAML and the curl supposed to return 201 or 200
