Commit 4a050d0e authored by Jean JESTIN-SCANVION's avatar Jean JESTIN-SCANVION
Browse files

Update SendPostRequestMultipart name function of cuckoo.go

parent ca0369e4
......@@ -18,7 +18,7 @@ type UploadResponse struct {
TaskID int `json:"task_id"`
}
func sendPostRequestMultipart(url string, filename string) int {
func SendPostRequestMultipart(url string, filename string) int {
client := &http.Client{}
req, err := NewfileUploadRequest(url, nil, "file", filename)
if err != nil {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment