这是indexloc提供的服务,不要输入任何密码
Skip to content

Need extra "new line character" for few postalcodes to geolocate them #289

@vikrantdheer-ebsco

Description

@vikrantdheer-ebsco

If I hit Google geocoding api with below URL

https://maps.googleapis.com/maps/api/geocode/json?key={api_key}&address=OSLO&components=country:NO%7Cpostal_code:N-0302

I am unable to get the results

But if I append "newline character" after postal code like this %0A, it works see below url?

https://maps.googleapis.com/maps/api/geocode/json?key=**{api_key}**&address=**OSLO**&components=**country:NO%7Cpostal_code:N-0302%0A**

Although this is not the case for US as country, if I search 5 digit postal code without any newline character it works

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions