origin-header tagged requests and articles

Categorized request examples and articles tagged with [origin-header] keyword
Curl CORS Request
An example of sending a Curl request with the CORS Origin header (Cross-Origin Resource Sharing request). For CORS requests, the Origin header indicates where the request is coming from. In this Curl CORS Request example, the Origin header is passed to the server with the -H "Origin: https://example.reqbin.com" command-line option.

Curl Request With Credentials
Sample Curl request with Origin CORS request header and authorization cookie. In this Curl Request With Credentials example the Origin request header is passed with the -H "Origin: https://example.reqbin.com" command-line parameter and the cookie is passed with the --cookie "authCookie = my_auth_cookie" parameter.

CORS Request with Credentials
An example of sending a CORS request with an Origin header and an authorization cookie. In this CORS Request with Credentials example, the Origin is provided with "Origin: https://example.reqbin.com" request header, and the cookie is provided with the "Cookie: authCookie=my_auth_cookie" header.