{"id":21182793,"url":"https://github.com/seriousbug/actix-web-query-method-middleware","last_synced_at":"2025-07-10T00:32:51.587Z","repository":{"id":60174885,"uuid":"541385668","full_name":"SeriousBug/actix-web-query-method-middleware","owner":"SeriousBug","description":"An Actix Web middleware that allows you to reroute `POST` requests to other methods like `PUT` or `DELETE` using a query parameter.","archived":false,"fork":false,"pushed_at":"2023-05-11T04:20:11.000Z","size":30,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-19T15:00:32.335Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/SeriousBug.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}},"created_at":"2022-09-26T02:58:57.000Z","updated_at":"2022-09-27T16:37:19.000Z","dependencies_parsed_at":"2023-01-29T18:31:08.403Z","dependency_job_id":null,"html_url":"https://github.com/SeriousBug/actix-web-query-method-middleware","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeriousBug%2Factix-web-query-method-middleware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeriousBug%2Factix-web-query-method-middleware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeriousBug%2Factix-web-query-method-middleware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeriousBug%2Factix-web-query-method-middleware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SeriousBug","download_url":"https://codeload.github.com/SeriousBug/actix-web-query-method-middleware/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225606620,"owners_count":17495551,"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":[],"created_at":"2024-11-20T17:58:08.301Z","updated_at":"2024-11-20T17:58:08.911Z","avatar_url":"https://github.com/SeriousBug.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Crates.io](https://img.shields.io/crates/v/actix-web-query-method-middleware)](https://crates.io/crates/actix-web-query-method-middleware)\n[![docs.rs](https://img.shields.io/docsrs/actix-web-query-method-middleware)](https://docs.rs/actix-web-query-method-middleware/latest/actix_web_query_method_middleware/)\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/SeriousBug/actix-web-query-method-middleware/test.yml?label=tests\u0026branch=main)](https://github.com/SeriousBug/actix-web-query-method-middleware/actions/workflows/test.yml)\n[![Codecov](https://img.shields.io/codecov/c/github/SeriousBug/actix-web-query-method-middleware?color=green)](https://app.codecov.io/gh/SeriousBug/actix-web-query-method-middleware)\n\nAn Actix Web middleware that allows you to reroute `POST` requests to other\nmethods like `PUT` or `DELETE` using a query parameter.\n\nThis is useful in HTML forms where you can't use methods other than `GET` or\n`POST`. By adding this middleware to your server, you can submit the form to\nendpoints with methods other than `POST` by adding a query parameter like\n`/your/url?_method=PUT`.\n\nFor example:\n\n```html\n\u003cform method=\"post\" action=\"/path/to/endpoint?_method=DELETE\"\u003e\n  \u003cinput type=\"submit\" value=\"Delete this item\" /\u003e\n\u003c/form\u003e\n```\n\nSee the [crate documentation](https://docs.rs/actix-web-query-method-middleware/latest/actix_web_query_method_middleware/) for details.\n\n## Development\n\nIf you have any suggestions or find any bugs, feel free to open a bug report. If\nyou'd like to contribute, you can send a pull request. If you are thinking of\nmaking a big change, you should open an issue first to discuss the changes to\navoid wasted effort.\n\n### Testing\n\nRun `cargo test` to test things. If you want to see the debug log output, you\ncan also use `RUST_LOG=debug cargo test` to see debug logs for failed tests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseriousbug%2Factix-web-query-method-middleware","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseriousbug%2Factix-web-query-method-middleware","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseriousbug%2Factix-web-query-method-middleware/lists"}