Hello, thank you all for your support.
The issue is that I have a Laravel API already mounted on a hosting, and when I make a post request from my Android application I receive some data that is int and it returns them as a string "333", at first I thought it was the logic of part of the application but when making the request with postman I realized that it was actually from the api, I would like to point out that the same API locally does return the correct data, below I share a fragment of the response:
{
"paginate": {
"total": 9,
"current_page": 1,
"per_page": 15,
"last_page": 1,
"from": 1,
"to": 1
},
"products": {
"current_page": 1,
"data": [
{
"id": 51,
"name": "sfsdfsdf",
"price": "123",
"desc": "asdasdasd",
"unit": "paquete",
"img": "1606592605productoimage.png",
"created_at": "2020-11-28T19:43:25.000000Z",
"updated_at": "2020-11-28T19:43:25.000000Z",
"sin_delantal": "0"
},
WHAT MAKES ME CURIOUS IS THAT THE ID IS OF INT TYPE AND THIS DOES RETURN IT AS SUCH. The data that does not return correctly are: Price[int] and sin_delanta[tinyint], I would appreciate any help you could provide me.