Mimicking curl digest command

I'm using the HTTP Momentary Switch