mirror of
https://github.com/aljazceru/pubky-core.git
synced 2025-12-31 04:44:37 +01:00
22 lines
400 B
Markdown
22 lines
400 B
Markdown
# Request
|
|
|
|
Make HTTP requests over for Pubky authority URL.
|
|
|
|
## Usage
|
|
|
|
Request data from a Pubky's data storage.
|
|
|
|
```bash
|
|
cargo run --bin request GET pubky://<user pubky>/pub/<path>
|
|
```
|
|
|
|
Or make a direct HTTP request.
|
|
|
|
```bash
|
|
cargo run --bin request GET https://<Pkarr domain>/[path]
|
|
```
|
|
|
|
### Testnet
|
|
|
|
You can pass a `--testnet` argument to run the query in testnet mode (using local DHT testnet).
|