mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 16:03:31 +00:00
[wip] requests library
This commit is contained in:
@@ -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";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user