This repository has been archived on 2026-01-06. You can view files and clone it, but cannot push or open issues/pull-requests.
fej/src/ivago/mod.rs

19 lines
402 B
Rust

#[cfg(test)] mod tests;
mod controller;
use controller as ctrl;
pub fn routes() -> Vec<rocket::Route> {
routes![
search_streets,
]
}
// URL: https://www.ivago.be/nl/particulier/autocomplete/garbage/streets?q=Lange
#[get("/search?<street>", format="json")]
pub fn search_streets(street: String) -> String {
// let response = send(request.body(()).unwrap());
"".to_string()
}