Description

In order to use RoadMentor, the system registers using the email address of the user. This email address may be associated with multiple realms.

If you want to programmatically create users, you can create the user here.

You can also register for a user account here: https://roadmentor.hyperspec.ai/users/register

User Interface

12361236

Code Examples

import requests

url = "/users/register"

payload = "name=[name]"
payload += "&email=[email]"
payload += "&password=[password]"
payload += "&password2=[password]"

headers = {
  'Accept': '*/*',
  'Cache-Control': 'no-cache',
  'Connection': 'keep-alive',
  'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)
curl --location --request POST '/users/register' \
--header 'Accept: */*' \
--header 'Cache-Control: no-cache' \
--header 'Connection: keep-alive' \
--header 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' \
--data-raw 'name=[name]&email=[email]&password=[password]&password2=[password]'
POST /users/register HTTP/1.1
Accept: */*
Accept-Language: en-US,en;q=0.9
Cache-Control: no-cache
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded; charset=UTF-8

name=[name]&email=[email]&password=[password]&password2=[password]
var settings = {
  "url": "/users/register",
  "method": "POST",
  "timeout": 0,
  "headers": {
    "Accept": "*/*",
    "Accept-Language": "en-US,en;q=0.9",
    "Cache-Control": "no-cache",
    "Connection": "keep-alive",
    "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
  },
  "data": "name=[name]&email=[email]&password=[password]&password2=[password]",
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
var request = require('request');
var options = {
  'method': 'POST',
  'url': '/users/register',
  'headers': {
    'Accept': '*/*',
    'Accept-Language': 'en-US,en;q=0.9',
    'Cache-Control': 'no-cache',
    'Connection': 'keep-alive',
    'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'
  },
  body: 'name=[name]&email=[email]&password=[password]&password2=[password]'

};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});