Switch command

REST Switch command:
I try to controll my garage door, which is running with this url in Browser:
http://192.168.178.22/GaragentorHA_Bewegen.php?aktion=move

I have a user and passwort. I can send the action over GET or POST. It makes no difference.

Does anyone have an idea, what is bad on below HA command line?
body_on and body_off doesn’t work, both ways.

  - platform: rest
    name: Garagentor44
    method: post
    username: root
    password: XYZ
    resource: http://192.168.178.22/GaragentorHA_Bewegen.php
    body_on: aktion=move
    body_off: aktion=movete code here

Hello Profile - SlawekKL - Home Assistant Community,
Welcome to the community!

Thanks for coming here and asking a question.
Would you be so kind as to adjusting the format of your code so that we can read it properly & check the YAML spacing, etc. It is very hard for us to tell what is what when the text formatter jumbles everything like that.
Use the </> button or this:
Here is an example of how to fix it from the site FAQ Page.
How to help us help you - or How to ask a good question.

Thank you, I change it