mirror of
https://github.com/katanemo/plano.git
synced 2026-06-20 15:28:07 +02:00
add ability to specify custom http headers in api endpoint
This commit is contained in:
parent
a7feb6bffb
commit
a0db504fe4
4 changed files with 24 additions and 8 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