Operation ID: createUser
Create a user
POST
/user/signupTime to create a user account, eh?
Request Body
JSON
{
"name": "string",
"email": "string",
"password": "string"
}
Responses
Created
JSON
{
"id": 0,
"name": "string",
"email": "string"
}
Samples
cURL
curl -X POST https://galaxy.scalar.com/user/signup
JavaScript
fetch("https://galaxy.scalar.com/user/signup", { method: "POST" })
.then(response => response.json())
.then(data => console.log(data));
PHP
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://galaxy.scalar.com/user/signup");
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
Python
import requests
response = requests.post("https://galaxy.scalar.com/user/signup")
print(response.json())