Monday 1 September 2014

HTTP POST and the Web IDE

I've been playing with http post whilst travelling around a bit. Just getting the feel so I can use it in a project I have coming up.

It occurred to me that there was a way I could be even more lazy than currently.

So I set about writing a little app that will enable me to bookmark the server for the Web IDE, even though the ip address changes occasionally.

I just open the app, hit Ok, wait a couple of second for the button to rename itself to Exit, then hit it again.

The bookmark on my PC then opens a page with a link to the server on my tablet.

Give it a day or two and I'll probably cut out the link and go for a redirect instead. The only problem with that is it makes the initial bookmarking a bit tricky.

The code I use is reproduced below. It points to a different url than I use, so you are welcome to try it.

In the highly unlikely event that 2 people try to use it at the same time, you may not get the right link.