Uploading Data

Is it possible to upload data to a server/ website directly from a Codea program? Please provide an example code if possible

Yes. You can send the data using http.request()

The simplest means is to just include the data as part of the url.

So like http.request(“www.codecollab.tumblr.com/codenoob-tuts/data”) or how would i put it in a sending format?

If you want to interface with javascript you can check out the Lua Json library. It encodes a table to send and decodes on receiving.

http.request(requestUrl,handleSuccess,handleFailure,opts)

What does opts mean? Sorry if its a stupid question

It’s a parameter table that can be passed. Check the built in doc on http.request in codea.

@Briarfox

Could u show me, and btw, what did i miss on skype?