# API POST for New User

**URL:** <https://meta.discourse.org/t/api-post-for-new-user/148676>\
**Category:** Development\
**Tags:** rest-api\
**Created:** [April 20, 2020, 10:53pm UTC](https://meta.discourse.org/t/api-post-for-new-user/148676 "2020-04-20T22:53:30Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![waffleslop](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/waffleslop/32/244974_2.png) [@waffleslop](https://meta.discourse.org/u/waffleslop)\
**Post date:** [April 21, 2020, 1:11am UTC](https://meta.discourse.org/t/api-post-for-new-user/148676/11 "2020-04-21T01:11:11Z")

</div>

Well that was foolish of me. Thanks, Arkshine.

Feeling close, though I am not getting any changes in my Discourse logs.

I’ve tried `type: "POST",` as well without luck.

```
<script type="application/json">
$.ajax({
method: "POST",
url: "https://test.co/users",
headers: { "Api-Username": "system", "Api-Key": "12345" },
data: { 
"name": "Bob Dingo",
"email": "grow@test.co",
"password": "Success101",
"username": "BobDingo",
"active": true,
"approved": true,
"user_fields[1]": "string"
}

});
</script>

```

---

_[View the full topic](https://meta.discourse.org/t/api-post-for-new-user/148676)._
