BlogBlogtypeA post on somebody's own site or a community platform. Nobody edits it after publication, so it dates from the day it was written.See every one →SAP Community

CAP, CORS and custom headers

What CAP itself does about CORS, and where it stops. The starting point is a colleague's request and a deliberate constraint: @sap/approuter has full CORS support, but the author wanted to know what the CAP server offers on its own and how to extend it. Ends up covering preflight requests and custom servers, which is the mechanism a frontend hosted outside BTP actually runs into.

Where it sits

Explains
Frontend boundaryCAPFrontend boundarycapabilityConnecting a separately hosted frontend to an application service: authentication, routing, access to backend systems, user identity propagation and tenant isolation across the hosting boundary.
Source
reachable

Who is behind it

DJ AdamsDJ AdamsPersonWrote this
Developer Advocate
In the atlas: contributes to 20, wrote 22
@qmacro
author

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Views
crawled
4,391

What was found on the page

derived
Prose
derived
2,543 words
Code blocks
derived
20
Repository links
derived
1

More on this22

Group by22 of 22 pieces
Piece, what it offersStill applies
Also explainingFrontend boundary1
From Inbox to Quotation: An AI-Assisted Sales Workbench in React on SAP CAP
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
Also byDJ Adams21
CAP in the age of AI #7 - vector embeddings wrap-up
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, part 7 of 7
nothing recorded
CAP in the age of AI #6 - vector embeddings
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Daniel Schlachter, part 6 of 7
nothing recorded
Custom Business Logic Extensibility in CAP (CDS-Oyster)
YouTube — SAP Developers playlists, Nick Josipovic, DJ Adams
nothing recorded
CAP in the age of AI #5 - agents wrap-up
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Simon Engel, Stefan Rudi, Daniel Schlachter, part 5 of 7
nothing recorded
What's in Daniel Hutzel's brain?
YouTube — SAP Developers playlists, Daniel Hutzel, DJ Adams
nothing recorded
CAP in the age of AI #4 - more on agents
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, part 4 of 7
nothing recorded
CAP in the age of AI #3 - from MCP to A2A
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Stefan Rudi, part 3 of 7
nothing recorded
CAP in the age of AI #2 - more on the MCP adapter
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Simon Engel, Stefan Rudi, part 2 of 7
nothing recorded
Add MCP capabilities to a CAP service
SAP Developer Center, DJ AdamsThe reasoningA recipe
nothing recorded
CAP in the age of AI #1 - the MCP adapter
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Simon Engel, Stefan Rudi, Daniel Schlachter, part 1 of 7
nothing recorded
CAP in the age of AI
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Simon Engel, Stefan Rudi, Daniel Schlachter
nothing recorded
Avoid design time CAP server restarts when maintaining local data files
SAP Community, DJ AdamsThe reasoningRunnable code
Core changed
CAP, CDS, CDL, CSN and jq - finding associations
SAP Community, DJ AdamsThe reasoning
nothing recorded
ISO content for common CAP types
SAP Community, DJ AdamsThe reasoningRunnable code
Core changed
CAP is important because it's not important
SAP Community, DJ AdamsThe reasoning
nothing recorded
Computed field example in CAP
SAP Community, DJ AdamsThe reasoningA recipeRunnable code
Core changed
Set up VS Code on Chrome OS for local Application Programming Model development
SAP Community, DJ AdamsThe reasoningRunnable code
Core changed
SAP Cloud Application Programming Model (CAP) - start here
SAP Community, DJ AdamsThe reasoning
nothing recorded
CAP Node.js Expert Session #6 - The MCP Adapter
YouTube — SAP Developers playlists, Daniel Schlachter, DJ AdamsThe reasoningA recipe
nothing recorded
Examine the details of the Model Context Protocol on startup
SAP Developer Center, DJ AdamsThe reasoningA recipe
nothing recorded
Define, generate, deploy: AI-driven spec-first Terraform
SAP TechEd — session catalogue, Christian Lechner, DJ AdamsA recipe
nothing recorded

Details

Graph4 edges
← POINTS HERE
POINTS OUT →
explainsFrontend boundarycapability, core only
published onSAP Communitypublishing source
discovered viaSAP Communitycap-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History1
  • Entered the atlasDiscovered via SAP Community · cap-tag.
For your agent
Ref
content:cap-cors-and-custom-headers
JSON
/content/cap-cors-and-custom-headers.json
MCP
Connecting an agent