http request status as number

Hello,
I query the status of my arylic via an HTTP query. Unfortunately I only get a request as text for the status (play pause, …) i need the status in decimal (1,0, …) is that possible somehow? My house control cannot handle this and the text and is not transmitted.
Thanks

no, for complicated message, it used json format. For normal controlling, just returning OK.