Sample code does not work

Whilst trying to port an existing application and having run into issues regards authentication, even the sample code for "javascript" as documented here: https://api-portal.nyc.gov/docs/services/geoclient/operations/geoclient doesn't work due to CORS restrictions. Please advise.

Comments

  •  
    The API is failing (see attached screenshot) Where is the updated documentation? The parameters at the very least!!!
    Posted by Hidden Thu, 08 Jul 2021 22:10:06 GMT
  •  
    This worked for me ... the documentation is not clear https://api.nyc.gov/geo/geoclient/v1/search.xml?input=1540 Broad Way , New York, NY 10001
    Posted by Hidden Fri, 09 Jul 2021 13:49:14 GMT


You're not signed in. Please sign-in to report an issue or post a comment.