mirror of
https://github.com/katanemo/plano.git
synced 2026-04-29 10:56:35 +02:00
add ability to specify custom http headers in api endpoint (#386)
This commit is contained in:
parent
e82f8f216f
commit
2bd61d628c
11 changed files with 179 additions and 10 deletions
|
|
@ -242,6 +242,7 @@ pub struct EndpointDetails {
|
|||
pub path: Option<String>,
|
||||
#[serde(rename = "http_method")]
|
||||
pub method: Option<HttpMethod>,
|
||||
pub http_headers: Option<HashMap<String, String>>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue