Build REST endpoint to query data on the frontend #5

Closed
opened 2020-02-18 20:01:33 +00:00 by ardouglass · 0 comments
ardouglass commented 2020-02-18 20:01:33 +00:00 (Migrated from github.com)

https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/

  • Accepts get request at /wp-json/address-mapper/v1/geojson/{lat},{lng}/{radius}
  • Returns a geojson object with the points inside the point and radius provided
https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/ - [x] Accepts get request at `/wp-json/address-mapper/v1/geojson/{lat},{lng}/{radius}` - [x] Returns a geojson object with the points inside the point and radius provided
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: ardouglass/address-mapper-wp#5
No description provided.