HTTP request restfulcommand

Hello,
I want to make an automation in HA for my electrical awning. The HTTP requests are made and they work.
My problem ist how to make to switches in HA to call the two URLs. I tried with restful command integration:

rest_command:
  markise-ausfahren:
    url: "http://192.168.178.124/command?XC_FNC=SendSC&type=WA&data=74F9F488"
  markise_einfahren:
    url: "http://192.168.178.124/command?XC_FNC=SendSC&type=WA&data=74FDF488"

but this doesn´t work.

And I tried with restful switch Integration, but this doesn´t work too:

switch:
  - platform: rest
    resource: "http://192.168.178.124/command?XC_FNC=SendSC&type=WA&data=74F9F488"
    name: markise-ausfahren
  - platform: rest
    resource: "http://192.168.178.124/command?XC_FNC=SendSC&type=WA&data=74FDF488"
    name: markise-einfahren

What is wrong with that and how can I see the switches in HA?

Thanks a lot
Markus

The first step is to get the command coded to open and close. In your first example, both appear to use the same URL. You can test these command by going into developer tools / actions. Once you get that working we can go on to the next step.

Hello Markus,

If it were me, I would try send one, delay a few seconds, sent the second one? It will work or it will explode, right?