cURL Example
cURL The example below sets the Accept header to application/xml, therefore, the response is returned in the XML format. Sample RequestThe following code calls the Get All Projects Ids API operation that retrieves all the available project ids.
curl -H "Accept: application/xml" -H "Content-Type: application/xml" -X GET "https://api.globalgiving.org/api/public/projectservice/all/projects/ids?api_key=YOUR_API_KEY"
Sample Response
<projects>
<project>
<id>3</id>
</project>
<project>
<id>18</id>
</project>
<project>
<id>4</id>
</project>
<project>
<id>6</id>
</project>
<project>......</project>
</projects>
|

