Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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 Champion
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
TAGS
atlassian, jira service management, jsm webinar, ai in jsm, opsgenie integration, incident management, virtual agent, atlassian intelligence, ai-powered service desk, it operations, atlassian learning, service management webinar, team '25 recap

What’s new in Jira Service Management 🤔

Discover how Atlassian is revolutionizing service management with cutting-edge solutions for AI-powered support, HR Service Management, or DevOps connectivity.

Register here ⬇️
AUG Leaders

Atlassian Community Events