Flux + URLEng

Flux + URLEng

Using URLEng with Flux/IOx Clients

Using Flux with URL Engine

๐Ÿ‘‡ Ready? Get your own table in zero minutes โฑ๏ธ

You're about to create your very own serverless, storage persistent URL Engine table - fast, free and always accessible from anywhere. Since there are no logins or signups, all data is hidden in public. The only protection is your own secret URL path.

Choose a unique URL path

We will use the Flux HTTP Client to query data to/from our service.

Let's go through our examlpe using FluxPipe

Live Demo

Replace mY5uPeRs3Cre7tok3N with your Token and click Run

Flux Script

Here is the full Flux script for reference

import "experimental/http/requests"
import ejson "experimental/json"
import "json"
import "array"

urleng = "https://urleng.com/mY5uPeRs3Cre7tok3N"

store =
 requests.post(
         url: urleng,
         body: json.encode(v: [{"key":"flux","value":100}]),
         headers: ["Content-Type": "application/json"],
     )

response =
     requests.get(
         url: urleng
     )

data = ejson.parse(data: response.body)
array.from(rows: data)

CURL

We can perform the same actions using curl or any other HTTP GET/POST client.

POST ndjson

curl -s -XPOST https://urleng.com/mY5uPeRs3Cre7tok3N-H 'Content-Type:application/x-ndjson' --data-binary @ndjson.txt

POST json

curl -X POST https://url-engine.metrico.in/mY5uPeRs3Cre7tok3N-H 'Content-Type: application/json' -d '[{"key":"curl","value":1}]'

GET json

curl -X GET https://urleng.com/mY5uPeRs3Cre7tok3N


That's it

Enjoy your free, bottomless URL table! Use it to share small datasets, states, k/vs and anything you can think of between your nodes as if they were a distributed cluster.

๐Ÿ’ฌ Found a problem? Got some feedback or ideas?
Please open an Issue or start a Discussion in our community

๐ŸŸจ๐ŸŸจ๐ŸŸจ
๐ŸŸจ๐ŸŸจ๐ŸŸจ
๐ŸŸฅ๐ŸŸจ๐ŸŸจ

ย