Returns the data for a FoodSharePoint.
GET
/api/map/foodSharePoint/{foodSharePointId}Authorizations
api_key
Type: API Key (header: X-CSRF-Token)
Parameters
Path Parameters
foodSharePointId*
Typestring
RequiredResponses
Successful
JSON
{
"name": "Demo Foodsharepoint",
"description": "This meeting is for demonstration purposes only. There is nothing to get here.",
"street": "Examplestreet 25",
"zipCode": "12345",
"city": "Sample town",
"picture": "/img/foodSharePointHead.jpg"
}
Authorization
api_key
Variables
Key
Value
foodSharePointId*
cURL
curl -X GET \
'http://localhost/api/map/foodSharePoint/{foodSharePointId}'
Samples
cURL
curl -X GET http://localhost/api/map/foodSharePoint/{foodSharePointId}
JavaScript
fetch("http://localhost/api/map/foodSharePoint/{foodSharePointId}")
.then(response => response.json())
.then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/map/foodSharePoint/{foodSharePointId}");
Python
import requests
response = requests.get("http://localhost/api/map/foodSharePoint/{foodSharePointId}")
print(response.json())