[API] Hướng dẫn sử dụng postman để thực hiện update bài viết (ok)

https://app.gitbook.com/@wordpress-lionel/s/project/basic-authentication-ok

Bước 1: Cài plugin https://codeload.github.com/WP-API/Basic-Auth/zip/master

2KB
Basic-Auth-master.zip
archive

Bước 2: Sử dụng postman

Chú ý chúng ta có thể mã hóa: Base64 Decode and Encode - Online

Ví dụ 1: The authorization header must be base64 encoded. For example, if the credential uses Aladdin as the username and OpenSesame as the password, then the field’s value is the base64-encoding of Aladdin:OpenSesame, or QWxhZGRpbjpPcGVuU2VzYW1l. Ví dụ 2: wordpress:wordpress =>>>>> Authorization: Basic d29yZHByZXNzOndvcmRwcmVzcw==

Link: https://www.base64encode.org

Đọc thêm hướng dẫn Basic Authentication

https://docs.konghq.com/hub/kong-inc/basic-auth/

Last updated