TRPC with Google Places API (New)
Has anyone had any luck using TRPC with Google's Places API (New) that only has cURL examples? Here is my attempted router for nearby search using the example from Google's docs (https://developers.google.com/maps/documentation/places/web-service/nearby-search) that gets a generic 400 status. The cURL works, so there's something wrong with the router...or possibly the API 🙃
Google for Developers
Nearby Search (New) Â |Â Places API Â |Â Google for Developers
Solution:Jump to solution
Solution: Google's documentation/API bugginess leaves a lot to be desired
Even though documentation says languageCode is optional, it is required. Adding to the body returns a valid response....
1 Reply
Solution
Solution: Google's documentation/API bugginess leaves a lot to be desired
Even though documentation says languageCode is optional, it is required. Adding to the body returns a valid response.