mirror of
https://github.com/katanemo/plano.git
synced 2026-07-05 15:52:12 +02:00
use GET as default http method
This commit is contained in:
parent
ea086b6ff9
commit
9a1dbc60b8
9 changed files with 16 additions and 5 deletions
|
|
@ -202,9 +202,9 @@ pub struct EndpointDetails {
|
|||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Hash, Default)]
|
||||
pub enum HttpMethod {
|
||||
#[default]
|
||||
#[serde(rename = "GET")]
|
||||
Get,
|
||||
#[default]
|
||||
#[serde(rename = "POST")]
|
||||
Post,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue