Skip to content

Middleware example - #3645

Open
itowlson wants to merge 1 commit into
spinframework:mainfrom
itowlson:examples-middleware
Open

Middleware example#3645
itowlson wants to merge 1 commit into
spinframework:mainfrom
itowlson:examples-middleware

Conversation

@itowlson

Copy link
Copy Markdown
Collaborator

DID YOU KNOW: SHARKS LAY THE BIGGEST EGGS IN THE WORLD

@itowlson
itowlson force-pushed the examples-middleware branch from 66d6448 to 9d84cbe Compare July 31, 2026 02:22
Signed-off-by: itowlson <ivan.towlson@fermyon.com>
@itowlson
itowlson force-pushed the examples-middleware branch from 9d84cbe to f0ba3b7 Compare July 31, 2026 02:32
async fn add_animal_fact_header(
request: Request,
) -> Result<Response, spin_sdk::wasip3::http::types::ErrorCode> {
// Gather an animal fa-- I MEAN MAKE A REQUEST TO THE AUTHORISATION SERVICE

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this comment correct? It does not appear to be calling an authorization service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants