Search
 
SCRIPT & CODE EXAMPLE
 

PHP

wordpress basic auth

Request: GET https://<domain-name>/wp-json/wp/v2/posts
Header: Authorization : Basic base64encoded <username:password>

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

Comment

PREVIOUS NEXT
Code Example
Php :: query builder codeigniter 
Php :: laravel relationship 
Php :: gate and policy in laravel 
Php :: laravel with select 
Php :: if else php 
Php :: optimize wordpress query 
Php :: Laravel - multiple select query 
Php :: php mysql 
Php :: how to run php in javascript 
Php :: Code for finding Prime Numbers 
Php :: laravel.log" could not be opened in append mode 
Php :: in php 
Php :: php check empty variable 
Php :: how to fetch data from database in php 
Php :: get email with preg grep php 
Php :: palindrom number in php 
Php :: download file from s3 using laravel 
Php :: elvis operator php 
Php :: enableQueryLog 
Php :: remove dashboard mya ccount 
Php :: pass messages laravel 
Php :: check not empty in laravel blade 
Php :: SQLSTATE[42S02]: Base table or view not found: 1146 Table many to many in laravel 
Php :: PHP redirect parent page 
Php :: php is multiple of 
Php :: laravel has many deep 
Php :: php helper to get day from 0-6 
Php :: keep multiple values in select box after reload in php 
Php :: laravel 8 remove public from url 
Php :: how to prevent iframe for your site by PHP 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =