125 posts
Location
Chunk 0
Posted 11 October 2013 - 02:04 PM
Similar to the enableAPI_http setting for example, I was hoping to store a value for all computers/turtles. Is this possible and if so how?
Thanks!
504 posts
Location
Seattle, WA
Posted 11 October 2013 - 06:57 PM
Unless you write all of your files directly to the ROM folder from outside the game, I don't think that this is possible if I've understood your question correctly, sorry.
125 posts
Location
Chunk 0
Posted 11 October 2013 - 10:50 PM
Well, I was hoping to use an OAuth2 system, which requires storing a long hash as the authentication token.
So the user would allow the app access, receive the hash token, put that in the config file and then in ComputerCraft my app could read that token.
I wouldn't need full access to a config file, just read access to a single value.
EDIT: Wait, I just realized I can't modify headers in the http get call. Serves me right for trying to deal with an unfamiliar API at 3am.