I have the couchbase couchchat sample app. I have everything working. I can add a user. I can use the admin port of the sync gateway and see the user.
Where in the code can I see an example of the call to the sync gateway to create the _user entry?
It's a sync_gateway side process. It handles processing the results Ref: