Scheduling a downlink with HTTP - Solved

How did you do this - because if that worked, it could be called by your button - it would be useful to know what sort of application the button would be on.