Response variable for rest_command

I’m trying to get a rest_command working that returns a response to an automation. When the automation runs I get the error message: “Error: Script does not support ‘response_variable’ for service ‘response_variable’ which does not support response data”. The documentation for rest_command (RESTful Command - Home Assistant) says that this is possible. However the example in the docs shows a rest_command that uses HTTP GET method. My rest_command uses POST. So is the problem that the rest_command does not support response_variable for POST? There is nothing in the docs that says either way.

OK, got this working. I upgraded HA and it now works.