Toggle between play and pause from http request

Hey, everybody!

I’m looking for command which I can toggle play and pause as http request, like “/command?cmd=toggle”.

I have found this command in mpc (mpc toggle), but I can’t see something similar in http command.

Can anybody help?

Thank you in advance =)

Suddenly I realized, that command “pause” is sending “toggle” command to mpd.