Unable to retrieve project list using PHP example in docs. Library does not exist at given URL.

Andrew Turner
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 15, 2020

I'm trying to retrieve a list of projects using the API GET /rest/api/3/project/search and connecting via PHP.

The API docs show a PHP example using something called the Unirest library and give a URL of http://unirest.io/php.html however, the library does not exist at that URL or even at that domain.

Anyone know how to make a PHP connection with/without this library?

Docs link:

Get projects paginated

1 answer

0 votes
Hana Kučerová
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 7, 2020

Hi @Andrew Turner ,

welcome to the Community!

I believe it is this library. Basically you just need to send a cURL request. The library provides you the possibility to create and send the request easily without much work, you just need to specify the request URL and the headers.

Suggest an answer

Log in or Sign up to answer