add ability to specify custom http headers in api endpoint

This commit is contained in:
Adil Hafeez 2025-01-29 14:18:42 -08:00
parent a7feb6bffb
commit a0db504fe4
No known key found for this signature in database
GPG key ID: 9B18EF7691369645
4 changed files with 24 additions and 8 deletions

View file

@ -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)]