https://github.com/nathanosdev/dfx-playground
https://github.com/nathanosdev/dfx-playground
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nathanosdev/dfx-playground
- Owner: nathanosdev
- Created: 2023-12-07T10:59:17.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-30T20:28:36.000Z (over 1 year ago)
- Last Synced: 2025-03-18T03:40:01.284Z (12 months ago)
- Language: Rust
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DFX Playground
## Denylist
```shell
dfx canister call \
z2rt2-eaaaa-aaaal-abcva-cai \
http_request \
--query \
--network https://icp-api.io \
--candid ./http_canister.did \
'(record {url = "/denylist.json"; method = "GET"; body = vec {}; headers = vec {}; certificate_version = opt 2})'
```
## Levi
```shell
dfx canister call \
em3jm-bqaaa-aaaar-qabxa-cai \
http_request \
--query \
--network https://icp-api.io \
'(record {url = "/"; method = "GET"; body = vec {}; headers = vec {}; certificate_version = opt 2})'
```
## Candid UI
```shell
dfx canister call \
a4gq6-oaaaa-aaaab-qaa4q-cai \
http_request \
--query \
--network https://icp-api.io \
--candid ./http_canister.did \
'(record {url = "/"; method = "GET"; body = vec {}; headers = vec {}; certificate_version = opt 2})'
```
## Open Chat
```shell
dfx canister call \
6hsbt-vqaaa-aaaaf-aaafq-cai \
http_request \
--query \
--network https://icp-api.io \
--candid ./http_canister.did \
'(record {url = "/"; method = "GET"; body = vec {}; headers = vec {}; certificate_version = opt 2})'
```
## Yumi
```shell
dfx canister call \
tppkg-ziaaa-aaaal-qatrq-cai \
http_request \
--query \
--network https://icp-api.io \
--candid ./http_canister.did \
'(record {url = "/"; method = "GET"; body = vec {}; headers = vec {}; certificate_version = opt 2})'
```
### DSign
```shell
dfx canister call \
kqlfj-siaaa-aaaag-aaawq-cai \
http_request \
--query \
--network https://icp-api.io \
--candid ./http_canister.did \
'(record {url = "/cyberowl"; method = "GET"; body = vec {}; headers = vec {}; certificate_version = opt 2})'
```
```shell
dfx canister call \
kqlfj-siaaa-aaaag-aaawq-cai \
http_request \
--query \
--network https://icp-api.io \
--candid ./http_canister.did \
'(record {url = "/project/7VAFT84WG459JZMR9KYJJ7PVHY?canister_id=23fub-taaaa-aaaag-abkta-cai"; method = "GET"; body = vec {}; headers = vec {}; certificate_version = opt 2})'
```
```shell
dfx canister call \
kqlfj-siaaa-aaaag-aaawq-cai \
http_request \
--query \
--network https://icp-api.io \
--candid ./http_canister.did \
'(record {url = "/cyberowl"; method = "GET"; body = vec {}; headers = vec {}; })'
```
## Dfinity docs
```shell
dfx canister call \
oa7fk-maaaa-aaaam-abgka-cai \
http_request \
--query \
--network https://icp-api.io \
--candid ./http_canister.did \
'(record {url = "/docs/current/references/cli-reference/dfx-upgrade"; method = "GET"; body = vec {}; headers = vec {}; certificate_version = opt 2 })'
```
## Juno
```shell
dfx canister call \
ucnx3-aqaaa-aaaal-ab3ea-cai \
http_request \
--query \
--network https://icp-api.io \
--candid ./http_canister.did \
'(record {url = "/aaaaaaaaaaaaaaa"; method = "GET"; body = vec {}; headers = vec {}; })'
```
```shell
dfx canister call \
iey7l-kaaaa-aaaah-qadoa-cai \
http_request \
--query \
--network https://icp-api.io \
--candid ./http_canister.did \
'(record {url = "/yolo/123"; method = "GET"; body = vec {}; headers = vec {}; certificate_version = opt 2 })'
```
```shell
dfx canister call \
onzmk-taaaa-aaaal-acw4a-cai \
http_request \
--query \
--network https://icp-api.io \
--candid ./http_canister.did \
'(record {url = "data/Mapping%20file.csv"; method = "GET"; body = vec {}; headers = vec {}; certificate_version = opt 2 })'
```
```shell
dfx canister call \
nkzsw-gyaaa-aaaal-ada3a-cai \
http_request \
--query \
--network https://icp-api.io \
--candid ./http_canister.did \
'(record {url = "bon%20jour3/index.html"; method = "GET"; body = vec {}; headers = vec {}; certificate_version = opt 2 })'
```
## OpenFPL
```shell
dfx canister call \
bgpwv-eqaaa-aaaal-qb6eq-cai \
http_request \
--query \
--network https://icp-api.io \
--candid ./http_canister.did \
'(record {url = "/pick-team"; method = "GET"; body = vec {}; headers = vec {}; certificate_version = opt 2 })'
```
## Nuance
```shell
dfx canister call \
exwqn-uaaaa-aaaaf-qaeaa-cai \
http_request \
--query \
--network https://icp-api.io \
--candid ./http_canister.did \
'(record {url = "/publication/Scytale"; method = "GET"; body = vec {}; headers = vec {}; certificate_version = opt 2 })'
```
```shell
dfx canister call \
exwqn-uaaaa-aaaaf-qaeaa-cai \
http_request \
--query \
--network https://icp-api.io \
--candid ./http_canister.did \
'(record {url = "/mujin0722/3888-zjfrd-tqaaa-aaaa…%8D%E5%B0%86%E5%9B%9E%E5%88%B07%E4%B8%87%E5%88%80"; method = "GET"; body = vec {}; headers = vec {}; certificate_version = opt 2 })'
```