brunitosessa
1 month ago
675
6
Laravel

Resource API data

Posted 1 month ago by brunitosessa

Hi, I'm trying to send data to an App using Api resources. I have "Bar resource", that has to include the distance (using latitude and longitude) from an User to that Bar. I really don't know how to (or where to) send that latitude and longitude to calculate that distance.

Could someone help me?

Thanks a lot

Please sign in or create an account to participate in this conversation.