Skip to content

Resolve "add an API endpoint for user creation"

Bruno Boiget requested to merge 375-add-an-api-endpoint-for-user-creation into master

Closes #375 (closed)

exemple d'appel en ligne de commande :

curl -iX POST -H "X-API-KEY: createuser-password" -H "Content-Type: application/json" -d '{"username":"bboiget", "email":"bruno.boiget@ac-dijon.fr", "firstname":"Bruno", "lastname":"Boiget"}' http://localhost:3000/api/createuser

la clé API est à renseigner dans les settings Meteor sous private.createUserApiKeys

dans cet exemple : "createUserApiKeys": ["createuser-password"]

Edited by Bruno Boiget

Merge request reports

Loading