Skip to content

Ajax create_user.php proper use? #240

@kenjikato

Description

@kenjikato

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions