{"id":1096,"date":"2020-02-03T14:04:15","date_gmt":"2020-02-03T01:04:15","guid":{"rendered":"https:\/\/www.ronella.xyz\/?p=1096"},"modified":"2020-02-03T14:04:15","modified_gmt":"2020-02-03T01:04:15","slug":"oauth2-basic-authentication-header-rfc7649","status":"publish","type":"post","link":"https:\/\/www.ronella.xyz\/?p=1096","title":{"rendered":"OAuth2 Basic Authentication Header (RFC7649)"},"content":{"rendered":"<p>An <strong>authorization header<\/strong> on HTTP requests with the following syntax:<\/p>\n<pre style=\"white-space: pre;\">Authorization: Basic Base64(FormURLEncode(&lt;USERNAME&gt;):FormURLEncode(&lt;PASSWORD&gt;))<\/pre>\n<p><strong>Example<\/strong><\/p>\n<table>\n<tbody>\n<tr>\n<td><strong>Token<\/strong><\/td>\n<td><strong>Value<\/strong><\/td>\n<\/tr>\n<tr>\n<td>USERNAME<\/td>\n<td>sample<\/td>\n<\/tr>\n<tr>\n<td>PASSWORD<\/td>\n<td>p5$$word<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The actual authorization header would be the following:<\/p>\n<pre style=\"white-space: pre;\">Authorization: Basic c2FtcGxlOnA1JTI0JTI0d29yZA==<\/pre>\n<p><em><strong>Related<\/strong><\/em><br \/>\n<em><a href=\"https:\/\/www.ronella.xyz\/?p=1092\" target=\"_blank\" rel=\"noopener noreferrer\">Basic Authentication (RFC7617)<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>An authorization header on HTTP requests with the following syntax: Authorization: Basic Base64(FormURLEncode(&lt;USERNAME&gt;):FormURLEncode(&lt;PASSWORD&gt;)) Example Token Value USERNAME sample PASSWORD p5$$word The actual authorization header would be the following: Authorization: Basic c2FtcGxlOnA1JTI0JTI0d29yZA== Related Basic Authentication (RFC7617)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[23],"tags":[],"_links":{"self":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/1096"}],"collection":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1096"}],"version-history":[{"count":1,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/1096\/revisions"}],"predecessor-version":[{"id":1097,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=\/wp\/v2\/posts\/1096\/revisions\/1097"}],"wp:attachment":[{"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1096"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1096"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ronella.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1096"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}