Fetch client for Calcit
APIs:
fetch.core/fetch |http://calcit-lang.org nil $ fn (text)
println text
Demo of options:
fetch "\"http://localhost:4000/demo"
{} (:method :POST)
:headers $ {} (:a |b)
:queries $ [] ([] :a |b)
[] :c |d
:body "|Some body"
fn (info)
tag-match info
(:ok text)
println text
(:err e)
println "\"Err" e
Install to ~/.config/calcit/modules/
, compile and provide *.{dylib,so}
file with ./build.sh
.
https://github.com/calcit-lang/dylib-workflow
MIT