mirror of
https://github.com/fluencelabs/examples
synced 2025-06-12 09:31:20 +00:00
#!/usr/bin/env bash -o errexit -o nounset -o pipefail (#3)
This commit is contained in:
7
curl_template/script.air
Normal file
7
curl_template/script.air
Normal file
@ -0,0 +1,7 @@
|
||||
(seq
|
||||
(seq
|
||||
(call relay (service "request") ["https://api.duckduckgo.com/?q=condensed%20milk&format=json"] milk)
|
||||
(call relay (service "request") ["https://api.duckduckgo.com/?q=beetroot&format=json"] beetroot)
|
||||
)
|
||||
(call %init_peer_id% (returnService "run") [milk.$.stdout beetroot.$.stdout])
|
||||
)
|
Reference in New Issue
Block a user