Registrations Requests API

returns empty registrations array

POST /api/v1/registration/validate

Parameters

Name Description
email user email
name user name
password password, min 8 chars
password_confirmation password again
school_name name of the school
school_url url of the new school, eg foo.usefedora.com
school_plan_id ID of plan the person is signing up for

Request

Headers

Accept: application/json

Route

POST /api/v1/registration/validate

Body

{"email":"c85e07ca03094659a282356e71e71f39@email.com","password":"password"}

cURL

curl "http://localhost:3000/api/v1/registration/validate" -d '{"email":"c85e07ca03094659a282356e71e71f39@email.com","password":"password"}' -X POST \
	-H "Accept: application/json" \
	-H "Content-Type: application/json" \
	-H "Host: example.org"

Response

Headers

Content-Type: application/json; charset=utf-8
Content-Length: 20

Status

200 OK

Body

{
  "registrations": [

  ]
}