没有登录页面的 Wordpress REST API 身份验证 [英] Wordpress REST API Authentication without a login page

查看:49
本文介绍了没有登录页面的 Wordpress REST API 身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用 REST api 使用 javascript 发布到我的 wordpress 博客,我了解获得身份验证的两步过程1.用户发送到授权页面,用户按授权按钮获取代码,2. 使用代码获取访问令牌.

I want to post to my wordpress blog with javascript using the REST api, I understand two step process to get authenticated 1. User sent to authorization page, user press authorize button get a code, 2. Use the code to get an access token .

我需要跳过第 1 步.如何在没有用户交互的情况下发布到我的博客.

I need to skip step 1. How can i post to my blog without user interaction.

推荐答案

您是否尝试过 JSON API 模块?这是完整文档.

Have you tried the JSON API module? Here is the full documentation.

这篇关于没有登录页面的 Wordpress REST API 身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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