📜  wordpress 基本身份验证 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:48.701000             🧑  作者: Mango

代码示例1
Request: GET https:///wp-json/wp/v2/posts
Header: Authorization : Basic base64encoded 

Sample request: GET https:///wp-json/wp/v2/posts
Header: Authorization : Basic eGw2UllOdFN6WmxKOlNMRWcwS1ZYdFVrbm5XbVV2cG9RVFNLZw==
Example =>  username : testuser and password : password@123