User Tools

Site Tools


userspace:webservice_corner:rust-rpc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
userspace:webservice_corner:rust-rpc [2019/02/18 14:57]
n.wenselowski created
userspace:webservice_corner:rust-rpc [2021/08/23 08:37] (current)
Line 20: Line 20:
                  
         let client = reqwest::Client::new();         let client = reqwest::Client::new();
-        let mut response = client.post("https://bonifax.uib.local:4447/rpc"+        let mut response = client.post("https://YOURSERVER.NAME.TLD:4447/rpc"
-            .basic_auth("adminuser", Some("linux123"))+            .basic_auth("YOUR_USERNAME_HERE", Some("PASSW0RDZ_HERE"))
             .json(&jrpc)             .json(&jrpc)
             .send()?;             .send()?;
userspace/webservice_corner/rust-rpc.1550501876.txt.gz · Last modified: 2021/08/23 08:37 (external edit)