Skip to content

docs: Provide example curl requests to CODE/PROD#16377

Open
akash1810 wants to merge 1 commit into
mainfrom
akash1810-patch-3
Open

docs: Provide example curl requests to CODE/PROD#16377
akash1810 wants to merge 1 commit into
mainfrom
akash1810-patch-3

Conversation

@akash1810

Copy link
Copy Markdown
Member

What does this change?

Follows #16217 to offer a curl example as the CORS configuration prevents us from making fetch calls in the browser.

@akash1810 akash1810 added the maintenance Departmental tracking: maintenance work, not a fix or a feature label Jul 14, 2026
The CORS configuration prevents us from making `fetch` calls in the browser. Document the `curl` alternative.
@akash1810 akash1810 force-pushed the akash1810-patch-3 branch from 7d9ce4f to cf14f3b Compare July 14, 2026 12:40

It is worth mentioning the CORS configuration of DCR in CODE/PROD limits what can be done in the browser; `curl` might be better for your use-case.

For example, to interact with a `POST` endpoint, first connect to the SOCKS proxy instance with [guardian/ssm-scala](https://github.com/guardian/ssm-scala):

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The DevX/Security team are actively deprecating this tol as we speak. Can we document the native AWS SSM version of this instead?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Can we document the native AWS SSM version of this instead?

Sure! Does this already exist as part of the deprecation plan?

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

Labels

maintenance Departmental tracking: maintenance work, not a fix or a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants