Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create example calling curl from CodeBuild #11

Open
PaulDuvall opened this issue Jul 24, 2019 · 2 comments
Open

Create example calling curl from CodeBuild #11

PaulDuvall opened this issue Jul 24, 2019 · 2 comments
Assignees

Comments

@PaulDuvall
Copy link
Contributor

No description provided.

@PaulDuvall PaulDuvall self-assigned this Jul 24, 2019
@PaulDuvall
Copy link
Contributor Author

PaulDuvall commented Jul 24, 2019

See README.md

sam local start-api

file=~/git/cfn_nag/spec/test_templates/json/elasticsearch/elasticsearch_domain_without_explicit_name.json

curl -d "{"template_body": "base64 $file"}" -H "Content-Type: application/json" -X POST http://127.0.0.1:3000/scan

@ghost
Copy link

ghost commented Aug 6, 2019

@PaulDuvall i believe this interface is broken with 0.0.1 release. the POST just requires the template as the body

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

No branches or pull requests

1 participant