On 14 Mar 2013, at 13:26, Esteban Lorenzano <estebanlm@gmail.com> wrote:
Is very cool, but I'm really used to open a browser and drop the code there... I would use it a lot more if I would have a UI somewhere :) (I know... we are all working like hell, don't worry about it, I'm just saying :P)
It is not a technical problem (it is actually quite easy), but more an organizational/security problem: allowing arbitrary, anonymous users to post arbitrary content (although the current API interface already allows that, but is more hidden ;-) I'll see what I can do...
Esteban
On Mar 14, 2013, at 1:18 PM, Sven Van Caekenberghe <sven@stfx.eu> wrote:
On 14 Mar 2013, at 13:11, Esteban Lorenzano <estebanlm@gmail.com> wrote:
Hi Sven,
I was checking http://ws.stfx.eu/ to use it as a replacement for pastebin, but I would like to just paste a chunk of code into a webbrowser instead installing the shared workspace into my image. Is there a way to do that?
Esteban
Well, see the very last expression at the bottom:
----
ZnClient new systemPolicy; beOneShot; url: 'http://ws.stfx.eu'; contents: Clipboard clipboardText asString; post.
"Don't forget to inspect this last expression to see the new key"
---
It is basically just an HTTP POST. You could even do it with curl. There is no web interface to do this though. I'll think about it.
Sven
PS: the code might have some bit rot in it since I didn't look at it for a long time.
-- Sven Van Caekenberghe http://stfx.eu Smalltalk is the Red Pill