Set and retrieve an arbitrary switch flag via GET and POST.