# How do I create a patient using the REST API?

**URL:** <https://talk.openmrs.org/t/how-do-i-create-a-patient-using-the-rest-api/2439>\
**Category:** Ask OpenMRS\
**Tags:** rest\
**Created:** [July 13, 2015, 6:27pm UTC](https://talk.openmrs.org/t/how-do-i-create-a-patient-using-the-rest-api/2439 "2015-07-13T18:27:44Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![tmueller](https://talk.openmrs.org/user_avatar/talk.openmrs.org/tmueller/32/827_2.png) [@tmueller](https://talk.openmrs.org/u/tmueller)\
**Post date:** [July 14, 2015, 8:02pm UTC](https://talk.openmrs.org/t/how-do-i-create-a-patient-using-the-rest-api/2439/4 "2015-07-14T20:02:24Z")

</div>

Hi, in:

> <https://github.com/openmrs/openmrs-contrib-uitestframework/blob/master/src/main/java/org/openmrs/uitestframework/test/TestBase.java>

you can find a create patient method using REST. I hope it helps you.

---

_[View the full topic](https://talk.openmrs.org/t/how-do-i-create-a-patient-using-the-rest-api/2439)._
