-2

In this API link, what is the meaning of '%2C'

https://maps.googleapis.com/maps/api/place/details/json
  ?fields=name%2Crating%2Cformatted_phone_number
  &place_id=ChIJN1t_tDeuEmsRUsoyG83frY4
  &key=YOUR_API_KEY

Reference: I want to create custom APIs from here: https://developers.google.com/maps/documentation/places/web-service/details#maps_http_places_details_fields-txt

Vivek
  • 143
  • 1
  • 8

1 Answers1

0

%2C is url encoded for ,

URL encoding

Huy Duy
  • 782
  • 6
  • 11
  • Then for this particular API, is & and , same? Means if I want to ask multiple attributes, what should I use? – Vivek Mar 24 '22 at 03:28