complété test de requête joplin notebooks
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import std/[asyncdispatch, httpclient]
|
||||
|
||||
proc get_joplin_notebooks*(): Future[string] {.async.} =
|
||||
var client = newAsyncHttpClient()
|
||||
return await client.getContent("http://localhost:41184/folders?token=e5f6644fbf6a97ddc55648dae72b11caecda6c6642d8ce0d3b20129b89b196385737eb908923542c3343649ebbf865b55bda031ab4c3a16edc7723ef2ad77d8f")
|
||||
|
||||
# echo waitFor get_joplin_notebooks()
|
||||
Reference in New Issue
Block a user