Rest API and Service Call

Example configuration.yaml entry

rest_command:
my_request:
url: https://ifmcaretest.co.uk/php-api-v2/api/3-users.php/
method: POST
payload: ‘{“req”: “{{ status }}”,“sensor_name”: “{{ emoji }}”}’

and in the service
{
“status”:“createSensor”,
“emoji”:“test3”
}

But when I call the api there is no insert into the external database as required. Please what could be wrong with this. This is my first rest call.

You must post so we can read properly </>

Hi. What do you mean. I dont understand the statement. I am trying to post not read

Your code above is not formatted and spacing is missing.
Space/tabs matter. Please correct it.

oh k. Thanks