Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dealig with data from the internet - example #28

Open
SebastianMpl opened this issue Feb 21, 2024 · 1 comment
Open

Dealig with data from the internet - example #28

SebastianMpl opened this issue Feb 21, 2024 · 1 comment

Comments

@SebastianMpl
Copy link

Hi,

It would be great If you could add to the IO section an example about the use of data from the internet.
I found that it supports the form host:protocol but cant find it working for URL adresses.
I found that I can use my shell commans like:
\curl https://example.com
but can't find a way to make K deal with the data (I'm to newbie in K)
#\curl https://example.com
doesn't count the length of the data...

Thank you,

@razetime
Copy link
Owner

the way to get data from \ commands is a bit obtuse:

."\\curl https://example.com"

I will add this to the tutorial. Thanks for asking.

Regarding the host:protocol format, I will add to this thread once i have some correct info on that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants