-
-
Notifications
You must be signed in to change notification settings - Fork 362
Description
Sorry for the newb question, but I'm trying to do an Ajax POST call to the create_user.php and I'm just getting back 302.
I'm assuming I'm doing something wrong, but not sure what at this point.
I'm trying to do this request for a "unregistered" new user coming from a very simple client side mobile web page that is not being served from the server where my instance of UserFrosting is running (although I probably could do that).
Here's the POST request from a simple rest app like Paw (https://luckymarmot.com/paw):
POST http://MYSITE.com/USERFROSTING/api/create_user.php?user_name=testman&display_name=testman&email=testman%40example.com&password=Abc123&passwordc=Abc123&ajaxMode=true
But at this point I'm assuming it's just me doing something stupid.
Any chance of getting a simple example of how to use create_user.php as an Ajax call.
Thanks!