Create users using rest-api

I’ve solved the problem. The url had to be https not http.