Creazione e attivazione di utenti dall'API

Sembra che la versione 2.5.0.beta3 sia stata rilasciata il 22 aprile 2020 e la correzione che ho apportato per questo problema è stata rilasciata il 14 aprile 2020, quindi dovresti essere in grado di creare un utente attivo tramite l’API con una singola richiesta.

Puoi verificare che le tue richieste e risposte siano simili a questo comando curl:

curl -i -sS -X POST "http://localhost:3000/users"  \
-H "Content-Type: multipart/form-data;"  \
-H "Api-Key: 079fb2bb12d3b436bb11bde8eb58aaa9a36560fa7d79b14b3087aa40b1ebc2c4"  \
-H "Api-Username: blake.erickson"  \
-F "name=8fe87241ca91a69f5ccd"  \
-F "username=8fe87241ca91a69f5ccd"  \
-F "email=8fe87241ca91a69f5ccd@example.com"  \
-F "password=c9193506a8f5e402a88cf2f8cee3f258"  \
-F "active=true"  \
-F "approved=true"

HTTP/1.1 200 OK

{
  "success": true,
  "active": true,
  "message": "Il tuo account è attivato e pronto per l'uso.",
  "user_id": 10
}