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

查看:33
本文介绍了使用 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.

推荐答案

注册用户 this 将向您展示如何通过简单地调用 url 并添加在数据库上注册一个使用 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 Auth为了登录用户.

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天全站免登陆