{
    "url": "https://delaparra-services.nl/knowledge-hub/origin",
    "locale": "en",
    "title": "Origin: Knowledge hub | DeLaParra Services",
    "description": "The scheme + host + port of the page making the request. Sent on cross-origin requests for CORS checks.",
    "alternates": {
        "en": "https://delaparra-services.nl/knowledge-hub/origin",
        "nl": "https://delaparra-services.nl/nl/kennisbank/origin"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/knowledge-hub/origin.csv",
        "md": "https://delaparra-services.nl/knowledge-hub/origin.md",
        "json": "https://delaparra-services.nl/knowledge-hub/origin.json",
        "zip": "https://delaparra-services.nl/knowledge-hub/origin.zip",
        "pdf": "https://delaparra-services.nl/knowledge-hub/origin.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/knowledge-hub/origin.csv",
            "encodingFormat": "text/csv",
            "name": "origin.csv"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/origin.json",
            "encodingFormat": "application/json",
            "name": "origin.json"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/origin.md",
            "encodingFormat": "text/markdown",
            "name": "origin.md"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/origin.pdf",
            "encodingFormat": "application/pdf",
            "name": "origin.pdf"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/origin.zip",
            "encodingFormat": "application/zip",
            "name": "origin.zip"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/origin/skills.zip",
            "encodingFormat": "application/zip",
            "name": "origin-skills.zip"
        }
    ],
    "markdown": "1. [Home](<https://delaparra-services.nl/>) \n1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) \n1. [Origin](<https://delaparra-services.nl/knowledge-hub/origin>)\n\n  \n\nCategory: HTTP headers \n\n# Origin\n\n  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    \n\n## What is Origin?\n\n \n\nOrigin: The scheme + host + port of the page making the request. Sent on cross-origin requests for CORS checks. The ` Origin ` header tells the server which site a request comes from: the scheme, host and port, such as ` https://app.example.com `. Browsers add it automatically to cross-origin requests and to ` POST ` requests.\n\n \n\nDefinition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)\n\n \n\n## Frequently asked questions about Origin\n\n  \n\n### How is Origin used in practice?\n\n \n\nServers use it for CORS decisions, to decide whether to allow the browser to share the response with that site. It also helps against cross-site request forgery, because a request from another origin can be rejected outright.\n\n    \n\n### What should you keep in mind with Origin?\n\n \n\nDo not treat it as authentication. Scripts and tools outside a browser can send any ` Origin ` they like. Its value is in protecting users in real browsers. When you configure CORS, compare the header against an explicit list of trusted origins. Never reflect whatever origin was sent back into ` Access-Control-Allow-Origin ` without that check.\n\n    \n\n### What does an example of Origin look like?\n\n \n\n```\nOrigin: https://app.example.com\n```\n\n \n\n## At a glance\n\n   CategoryHTTP headers Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026\n\n \n\n## More HTTP headers terms\n\n \n\n- [If-None-Match](<https://delaparra-services.nl/knowledge-hub/if-none-match>) \n- [Last-Modified](<https://delaparra-services.nl/knowledge-hub/last-modified>) \n- [Location](<https://delaparra-services.nl/knowledge-hub/location>) \n- [Permissions-Policy](<https://delaparra-services.nl/knowledge-hub/permissions-policy>) \n- [Range](<https://delaparra-services.nl/knowledge-hub/range>) \n- [Referer](<https://delaparra-services.nl/knowledge-hub/referer>)\n\n \n\n[All terms starting with O](<https://delaparra-services.nl/knowledge-hub#letter-o>)\n\n \n\n## Skills\n\n \n\n- ### HTTP headers review\n\n \n\nUse when reviewing or setting HTTP response headers for a web app or API - security headers (Content-Security-Policy, Strict-Transport-Security, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy), CORS headers, caching headers (Cache-Control, ETag, Last-Modified, Vary) and cookies (Set-Cookie flags). Also use when a security scan reports missing headers.\n\n [View skill](<https://delaparra-services.nl/skills/http-headers-review>) [Download zip](<https://delaparra-services.nl/skills/http-headers-review/download>) \n- ### API Design Principles\n\n \n\nMaster REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.\n\n [View skill](<https://delaparra-services.nl/skills/api-design-principles>) [Download zip](<https://delaparra-services.nl/skills/api-design-principles/download>) \n- ### Chrome DevTools Agent\n\n \n\n'Expert-level browser automation, debugging, and performance analysis using Chrome DevTools MCP. Use for interacting with web pages, capturing screenshots, analyzing network traffic, and profiling performance.'\n\n [View skill](<https://delaparra-services.nl/skills/chrome-devtools>) [Download zip](<https://delaparra-services.nl/skills/chrome-devtools/download>)\n\n [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/origin/skills.zip>)\n\n \n\n## Manuals\n\n \n\n- [HTTP headers: security, caching and CORS](<https://delaparra-services.nl/manuals/http-headers-beveiliging-caching-en-cors>)\n\n \n\n## Related services\n\n \n\n- [Custom software and web applications](<https://delaparra-services.nl/services#service-03>)\n\nPerhaps your customers need somewhere to download their invoices, or your staff are managing bookings in a spreadsheet. \n- [AI code review](<https://delaparra-services.nl/services#service-05>)\n\nWhen you push your new change, I will review your code, help your agent avoid the same mistake again, and get your app ready for deployment.\n\n \n\n## Need any help?\n\n \n\nStuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.\n\n  [Get in touch](<https://delaparra-services.nl/availability>)\n\n[HTML version](https://delaparra-services.nl/knowledge-hub/origin)\n",
    "structured_data": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://delaparra-services.nl/#practice",
                "logo": "https://delaparra-services.nl/logo.png",
                "name": "DeLaParra Services",
                "legalName": "DeLaParra Services",
                "url": "https://delaparra-services.nl/",
                "description": "Bespoke software, web applications and mobile apps, developed in Laravel by a single developer in Groningen. Fixed price agreed in advance, full source code provided upon delivery.",
                "email": "info@delaparra-services.nl",
                "address": {
                    "@type": "PostalAddress",
                    "addressLocality": "Groningen",
                    "addressRegion": "Groningen",
                    "addressCountry": "NL"
                },
                "areaServed": "Groningen, the Netherlands",
                "knowsLanguage": [
                    "en",
                    "nl"
                ],
                "knowsAbout": [
                    "Web design and development",
                    "App development",
                    "Custom software and web applications",
                    "OpenSpec",
                    "AI code review",
                    "Your own coding agent"
                ],
                "founder": {
                    "@id": "https://delaparra-services.nl/#person"
                }
            },
            {
                "@type": "FAQPage",
                "@id": "https://delaparra-services.nl/knowledge-hub/origin#webpage",
                "url": "https://delaparra-services.nl/knowledge-hub/origin",
                "name": "Origin: Knowledge hub | DeLaParra Services",
                "description": "The scheme + host + port of the page making the request. Sent on cross-origin requests for CORS checks.",
                "isPartOf": {
                    "@id": "https://delaparra-services.nl/#website"
                },
                "about": {
                    "@type": "DefinedTerm",
                    "@id": "https://delaparra-services.nl/knowledge-hub/origin#term",
                    "name": "Origin",
                    "description": "The scheme + host + port of the page making the request. Sent on cross-origin requests for CORS checks.",
                    "termCode": "origin",
                    "url": "https://delaparra-services.nl/knowledge-hub/origin",
                    "inLanguage": "en",
                    "keywords": "HTTP headers",
                    "dateModified": "2026-11-25T17:46:28+00:00",
                    "inDefinedTermSet": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#terms"
                    },
                    "isPartOf": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#dataset"
                    },
                    "subjectOf": [
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/origin#webpage"
                        },
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/origin#dataset"
                        }
                    ]
                },
                "inLanguage": "en",
                "breadcrumb": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/origin#breadcrumb"
                },
                "mainEntity": [
                    {
                        "@type": "Question",
                        "name": "What is Origin?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "The scheme + host + port of the page making the request. Sent on cross-origin requests for CORS checks. The Origin header tells the server which site a request comes from: the scheme, host and port, such as https://app.example.com. Browsers add it automatically to cross-origin requests and to POST requests."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "How is Origin used in practice?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "Servers use it for CORS decisions, to decide whether to allow the browser to share the response with that site. It also helps against cross-site request forgery, because a request from another origin can be rejected outright."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What should you keep in mind with Origin?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "Do not treat it as authentication. Scripts and tools outside a browser can send any Origin they like. Its value is in protecting users in real browsers. When you configure CORS, compare the header against an explicit list of trusted origins. Never reflect whatever origin was sent back into Access-Control-Allow-Origin without that check."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What does an example of Origin look like?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "Origin: https://app.example.com"
                        }
                    }
                ],
                "author": {
                    "@id": "https://delaparra-services.nl/#person"
                },
                "mentions": [
                    {
                        "@id": "https://delaparra-services.nl/skills/http-headers-review#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/api-design-principles#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/chrome-devtools#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/http-headers-beveiliging-caching-en-cors#article"
                    }
                ]
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://delaparra-services.nl/knowledge-hub/origin#breadcrumb",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "Home",
                        "item": "https://delaparra-services.nl/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Knowledge hub",
                        "item": "https://delaparra-services.nl/knowledge-hub"
                    },
                    {
                        "@type": "ListItem",
                        "position": 3,
                        "name": "Origin"
                    }
                ]
            },
            {
                "@type": "Person",
                "@id": "https://delaparra-services.nl/#person",
                "name": "Reinier de la Parra",
                "url": "https://delaparra-services.nl/about"
            },
            {
                "@type": "Dataset",
                "@id": "https://delaparra-services.nl/knowledge-hub/origin#dataset",
                "name": "Origin",
                "description": "The scheme + host + port of the page making the request. Sent on cross-origin requests for CORS checks.",
                "url": "https://delaparra-services.nl/knowledge-hub/origin",
                "identifier": "https://delaparra-services.nl/knowledge-hub/origin#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/origin#term"
                },
                "creator": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "publisher": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "license": "https://creativecommons.org/licenses/by/4.0/",
                "creditText": "Coders Lingo (https://coderslingo.com/resources/open-dataset/), CC BY 4.0",
                "isAccessibleForFree": true,
                "inLanguage": "en",
                "keywords": "HTTP headers",
                "version": "2026-11-25",
                "dateModified": "2026-11-25T17:46:28+00:00",
                "isPartOf": {
                    "@type": "Dataset",
                    "@id": "https://delaparra-services.nl/knowledge-hub#dataset",
                    "name": "IT terms from A to Z",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "includedInDataCatalog": {
                    "@type": "DataCatalog",
                    "@id": "https://delaparra-services.nl/knowledge-hub#catalog",
                    "name": "Knowledge hub data catalog",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "distribution": [
                    {
                        "@type": "DataDownload",
                        "name": "origin.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/origin.csv",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:28+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "origin.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/origin.json",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:28+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "origin.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/origin.md",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:28+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "origin.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/origin.pdf",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:28+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "origin.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/origin.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:28+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "origin-skills.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/origin/skills.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:28+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    }
                ]
            }
        ]
    }
}