[wip] requests library

This commit is contained in:
Valmo Trindade
2024-09-15 19:13:03 -03:00
parent 05fc17d705
commit 8a297e0c17

View File

@@ -4,7 +4,13 @@ pub fn get_uuid() -> String {
Uuid::new_v4().to_string() Uuid::new_v4().to_string()
} }
mod request { mod sync_request {
pub fn get(address: String, token: String) -> String {
let par = address + &token;
return par;
}
pub fn post(data: String) -> &'static str { pub fn post(data: String) -> &'static str {
return "not implemented yet"; return "not implemented yet";
} }