XF 2.1 Register users with API?

Cryptite

Member
Seems I was using an addon of sorts for this in 1.5, and don't immediately see anything in the API for registering users. Is this currently possible with the new rest API for XF2.1?
 
Ah, thank you! I have a new problem now; I'm running my forums with nginx. These are the relevant bits of my configuration with regards to the forums. I'm having an issue where hitting /api/ is always hitting index.php, which obviously isn't working. I'm unsure, however, what to have here to make this work properly. Any ideas?

NGINX:
    location /forums {
        alias /var/www/forums/;
        try_files $uri $uri/ /forums/index.php?$uri&$args;
        index index.php index.html;
    }

    location ~ /forums(internal_data|library) {
         internal;
    }

    location ~ \.php$ {
        fastcgi_pass unix:/run/php/php7.2-fpm.sock;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;
    }
 
Back
Top Bottom