使用Wordpress JSON API注册/登录用户 [英] Register/login user with Wordpress JSON API

查看:654
本文介绍了使用Wordpress JSON API注册/登录用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为一个wordpress网站创建移动应用.我已经集成了 wordpress json插件. 我不确定在哪里可以找到用于用户注册和登录的服务. 请指教.

I want to create mobile app for one wordpress website. I have integrated the wordpress json plugin. I'm not sure where I can find service for user registration and login. Please advice.

推荐答案

要注册用户 GET方法向其添加数据. 现在,通过移动应用程序执行此操作,您只需向包含用户所需的所有数据的url发出http请求即可. 将向您展示如何从Android发出请求.

To register a user this will show you exactly how to register one on the database by simply calling a url and adding data to it using GET Method. Now to do so from a mobile app you just have to make an http request to a url containing all the data required for the user. This will show you how to make a request from Android.

这仅用于注册用户,还会使用另一个插件 JSON APi身份验证为了登录用户.

This is just for registering users there will be another plugin JSON APi Auth used in order to login a user.

这些是基础知识,因为我现在没有很多时间,当我这样做的时候,我将提供完整的细节和示例.但是现在就可以了

These are the basics since I don't have much time now, when I do, I will provide full details and example. But for now this shall do it

这篇关于使用Wordpress JSON API注册/登录用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆