require('node-fetch')(`https://***/forum/api/users/`, {
method: 'POST',
headers: {
"XF-Api-Key": "API KEY",
"Content-Type":"application/x-www-form-urlencoded",
"XF-Api-User": 8
},
body: new URLSearchParams({
"username": "test",
"email": "[email protected]",
"password": "pass"
})
})