Skip to content

Returns details of the food share point with the given ID.

GET
/api/foodSharePoints/{foodSharePointId}

Authorizations

api_key
Type: API Key (header: X-CSRF-Token)

Parameters

Path Parameters

foodSharePointId*
Typestring
Required

Responses

Success
Authorization
api_key
Variables
Key
Value
foodSharePointId*
cURL
curl -X GET \
'http://localhost/api/foodSharePoints/{foodSharePointId}'

Samples

cURL
curl -X GET http://localhost/api/foodSharePoints/{foodSharePointId}
JavaScript
fetch("http://localhost/api/foodSharePoints/{foodSharePointId}")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/foodSharePoints/{foodSharePointId}");
Python
import requests
response = requests.get("http://localhost/api/foodSharePoints/{foodSharePointId}")
print(response.json())