Switch with url string

Actually - although the RESTful switch says it supports the GET method - I think you will have issues implementing it as it only supports GET for retrieving state.

The method in this post looks like it might work: