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>