Different datatype from endpoint

37 Views Asked by At

created a basic Api Rest service in Laravel 4.2 (the project was created in this version), and local responses me corresponding datatype (Int), but when execute endpoint from online server, receive different datatype(String) to local(Int), appreciate someone who knows the reason of this.

Local example HERE

Online CentOs Server example HERE

0

There are 0 best solutions below