authorization tagged requests and articles

Categorized request examples and articles tagged with [authorization] keyword
Curl Request With Bearer Token Authorization Header
An example of a Curl request with Bearer Token Authorization header. The bearer token is sent to the server in the 'Authorization: Bearer {token}' authorization header. The 'Accept: application/json' header tells the server that the client expects a JSON. The server informs the client that it returned a JSON with 'Content-Type: application/json' response header.
curl get-request bearer-token authorization authorization-header request-header

GET Request With Bearer Token Authorization Header
An example of sending a GET request with Bearer Token authorization header. The bearer token is sent to the server in the 'Authorization: Bearer {token}' request header. The 'Accept: application/json' header tells the server that the client expects a JSON. The server informs the client that it returned a JSON with 'Content-Type: application/json' response header.
get-request bearer-token authorization authorization-header request-header form

GET Request With Basic Server Authentication
This page shows how to send a GET request with the basic server authentication credentials. For the basic server authentication, the 'Authorization: Basic {credentials}' header is added to the request. Where the {credentials} is a Base64 encoded string of username and password pair joined by a single colon :.
get-request basic-authentication credentials server-authentication authorization

Curl Command With Basic Server Authentication Header
An example of a Curl command with the basic server authentication credentials in the request header. For the basic server authentication, the 'Authorization: Basic {credentials}' header is added to the request. Where the {credentials} is a Base64 encoded string of login and password pair joined by a single colon :.
curl basic-authentication server-authentication get-request authorization

Send CORS Request with Credentials with Curl
This page demonstrates a Curl command to send a CORS request with the Origin header and HTTP cookies (Cross-Origin Resource Sharing request).
curl cors origin-header cookies credentials authorization

POST JSON String With Basic Authentication
This page shows how to send a JSON string with Basic authentication header "Authorization: Basic bG9naW46cGFzc3dvcmQ=".
post-request json basic-authentication authentication-header post-json rest-api authorization

Curl Command to POST JSON String with Bearer Token Authorization Header
This page shows how to send a JSON string with a Bearer token authorization header with Curl.
curl json post-request bearer-token authorization authorization-header post-json request-header

GET Request With Bearer Token Authorization Header
This page demonstrates how to send a GET request to an HTTP API endpoint with Accept: application/json and Bearer token authorization headers.
get-request json bearer-token authorization-header accept-header rest-api request-header authorization

POST JSON String With Bearer Token Authorization Header
An example of how to send a JSON string with Accept: application/json and Bearer token authorization headers.
post-request json bearer-token authorization-header post-json authorization post-method

Curl Command to POST JSON String With Basic Authentication
This page shows how to send a JSON string with Basic authentication header with Curl.
curl json basic-authentication authentication-header request-header authorization rest-api

POST JSON with Basic Authentication Credentials
This page shows how to post JSON string with Basic authentication credentials in the header. Try it yourself with ReqBin online HTTP Client.
post-request json basic-authentication credentials authorization rest-api

GET Request with Basic Authentication Credentials
This page shows how to make a GET request with Basic authentication credentials in the header. Try it yourself with ReqBin online HTTP Client.
get-request basic-authentication credentials authorization

HTTP Request with Bearer Auth Credentials
This page shows how to make an HTTP request with a Bearer authentication credentials. Try it yourself with ReqBin online HTTP Client.
http-request bearer-token credentials get-request authorization

GET Request with Bearer Authentication Credentials
This page shows how to make a GET request with Bearer authentication credentials in the header. Try it yourself with ReqBin online HTTP Client.
get-request bearer-token credentials rest-api get-method authorization

POST JSON with Bearer Authentication Credentials
This page shows how to post JSON string with Bearer authentication credentials in the header. Try it yourself with ReqBin online HTTP Client.
post-request json bearer-token credentials rest-api authorization

GET Request with Custom Authorization Header
This page shows how to make a GET request with a custom authorization header. Try it yourself with ReqBin online HTTP Client.
get-request custom-header authorization-header custom-authorization authorization

HTTP Request with Basic Auth Credentials
This page shows how to make an HTTP request with Basic auth credentials. Try it yourself with ReqBin online HTTP Client.
http-request basic-auth credentials authorization get-request

curl -u
A live example of sending Curl command with Basic server authentication header (credentials are provided with -u or --user command-line argument). Try it yourself with ReqBin online Curl client.
basic-authentication http-header curl json authorization request-header curl-command

PATCH Request Example
This page demonstrates how to send a PATCH request to an HTTP API endpoint with Bearer token in authorization headers.
patch-request bearer-token authorization-header rest-api authorization

POST JSON with Custom Authorization Header
This page shows how to post JSON string with a custom authorization header. Try it yourself with ReqBin online HTTP Client.
post-request json custom-header authorization-header authorization rest-api request-header post-json custom-authorization

HTTP Authentication
HTTP provides a framework for controlling access to pages and API resources by defining several authentication schemes and implementing them.
authorization http-authentication mutual-authentication hoba-authentication digest-authentication bearer-authentication basic-authentication

Basic Authentication Method
Basic access authentication method is used by client to provide a user name and password when making a request
basic-authentication http-authentication authorization

Bearer Authentication Method
A Bearer Authentication method is also known as a token-based method. This is an authentication technique that provides every request to the server with a signed token.
bearer-token http-authentication bearer-authentication authorization

Digest Authentication
Digest authentication is one of the standard methods that the server uses to validate identity information like username and password.
md5 digest-authentication http-authentication authorization

HOBA Authentication
The general idea for developing HTTP Origin-Bound Authentication scheme is to simplify the implementation process.
hoba http-authentication hoba-authentication authorization

HTTP Security
HTTP Security provides the authentication of the intended website and protection of data privacy and integrity during transmission to secure communications over the network. In general, HTTP Security provides a reasonable assurance that one is protected from malicious interference while communicating on the internet.
authorization authentication-header security http-security

Mutual Authentication
Mutual Authentication is a solution to a variety of attacks on the net. It minimizes the risk of fraud for online business by validating the legitimacy of both sides and purposes. Mutual authentication is performed before the actual communication through the exchange of digital certificates.
http-authentication mutual-authentication ssl authorization

API Automated Testing
The automation of the testing process makes it easy and quick; it allows increasing test coverage and frequency, saving money and time while implementing the whole process between development and QA, as well as the debugging in production.
api api-testing automated-testing authorization unit-testing functional-testing smoke-testing integration-testing automation-tool