I have some Http call to the API, which returns some data. The data is as follows:
{
"id": 7728806673365567000,
"title": "Status Unknown"
}
And now, the problem is with ID, as in database, Id is like: 7728806673365567677 So, valid id has 677 as last 3 digits, but data returned from the API contains 000, so:
Valid: 7728806673365567677
Invalid: 7728806673365567000
I'm wondering what is the problem with this. Maybe it can work if ID will be a string not number ?
Thanks for any advice.
EDIT: Now i see that data in backend is in fact a string : "7728806673365567000" But Http call changes this into Number ?