docs: Provide example curl requests to CODE/PROD#16377
Open
akash1810 wants to merge 1 commit into
Open
Conversation
The CORS configuration prevents us from making `fetch` calls in the browser. Document the `curl` alternative.
7d9ce4f to
cf14f3b
Compare
|
|
||
| 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): |
There was a problem hiding this comment.
The DevX/Security team are actively deprecating this tol as we speak. Can we document the native AWS SSM version of this instead?
Member
Author
There was a problem hiding this comment.
Can we document the native AWS SSM version of this instead?
Sure! Does this already exist as part of the deprecation plan?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this change?
Follows #16217 to offer a
curlexample as the CORS configuration prevents us from makingfetchcalls in the browser.