« first day (1623 days earlier)      last day (871 days later) » 

4:53 PM
@cairdcoinheringaahing hello from here
 
Hello there
 
I want to execute APL code from a js script
is there any documentation on the API I can read
 
Nothing official, but this is the start of the last convo I had about how to use the API
 
that helps a lot
@cairdcoinheringaahing In Vlang\x001\x00jelly\x00F.code.tio\x001\x00+F.input.tio\x000\x00Vargs\x002\x002\x001\x00R what does Vlang mean?
oh nvm
now it makes a lot of sense
 
5:20 PM
@cairdcoinheringaahing so I'm doing this:
response = await fetch("https://tio.run/cgi-bin/run/api/", {
		method: "POST",
		headers: {
			"Content-Type": "application/json;charset=utf-8"
		},
		body: "Vlang\x001\x00" + lang + "\x00F.code.tio\x00" + length + "\x00" + state.code + "F.input.tio" + state.input + "Vargs\x000\x00R"
	})
 
 
2 hours later…
7:30 PM
@Razetime Don’t speak JS, but I think that should work
 

« first day (1623 days earlier)      last day (871 days later) »