{"id":18051783,"url":"https://github.com/joegasewicz/multipart-requests","last_synced_at":"2025-04-10T18:15:14.932Z","repository":{"id":65496382,"uuid":"593379345","full_name":"joegasewicz/multipart-requests","owner":"joegasewicz","description":"Http multipart form data requests","archived":false,"fork":false,"pushed_at":"2023-06-25T12:11:10.000Z","size":8,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T13:34:13.422Z","etag":null,"topics":["http","http-requests","multipart","multipart-formdata","request"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joegasewicz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-25T21:28:31.000Z","updated_at":"2025-02-27T09:51:45.000Z","dependencies_parsed_at":"2024-06-20T18:48:41.456Z","dependency_job_id":null,"html_url":"https://github.com/joegasewicz/multipart-requests","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joegasewicz%2Fmultipart-requests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joegasewicz%2Fmultipart-requests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joegasewicz%2Fmultipart-requests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joegasewicz%2Fmultipart-requests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joegasewicz","download_url":"https://codeload.github.com/joegasewicz/multipart-requests/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248269603,"owners_count":21075783,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["http","http-requests","multipart","multipart-formdata","request"],"created_at":"2024-10-30T22:55:59.699Z","updated_at":"2025-04-10T18:15:14.917Z","avatar_url":"https://github.com/joegasewicz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multipart Requests\nHttp multipart form data requests\n\n### Install\n```\ngo get -u github.com/joegasewicz/multipart-requests\n```\n\n### Usage\nUpload the file as multipart form data within a http request\n```go\nm := multipart_requests.MultipartRequest{\n    TempPath: \"uploads\", // Default is temp\n    Persist:  true, // Default is false\n\tUrl:      \"http://127.0.0.1:8000/example\", // Required\n    Debug:    true, // Default is false\n}\n// If a file is being obtained via a form request then use this helper\nfileName, file, err := m.GetFile(r, \"logo\")\n// Upload the file as multipart form data within a http request\n_, err = m.Upload(file,  *fileName, \"logo\")\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoegasewicz%2Fmultipart-requests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoegasewicz%2Fmultipart-requests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoegasewicz%2Fmultipart-requests/lists"}