Skip to content

Returns possibly cached information of foodsharing petition at bundestag.

GET
/api/petition-data

Authorizations

Responses

Successful

Samples

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