deepfence / deepfence/SecretScanner
SecretScanner http server post format
Open
- Dominant language
- Go
- Stars
- 3.4k
- Forks
- 346
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I run SecretScanner as a http server.
But I do not know how to use curl command to POST data to http server.
This is my example:
```
curl -X POST http://0.0.0.0:8080/secret-scan -d '{"image_name_with_tag_list": [""]}' -H 'Content-Type: application/json'
```
And output is:
```
{"error":"Image Name with tag list is required "}
```
I have trace code, and in http.go file, I found the runSecretScan func in line 49.
But I always POST fail to http server, what is POST data format?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.