http request status as number

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.

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