简体   繁体   中英

parse JIRA REST API response using php

I tried several times and several methods to parse long json data in JIRA REST API response. but I couldn't

I want to parse Json using PHP. So I used pure php and curl also but i couldn't. Please help me to solve this. I'm new in REST API and php-curl

Here is my JIRA REST Response https://jira.atlassian.com/rest/api/latest/issue/JRA-9

Here is my sample php-curl code

<?php 
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, "https://jira.atlassian.com/rest/api/latest/issue/JRA-9");
    curl_exec($ch);
    curl_close($ch);
?>

finally. I solve that.I have to enable CuRL extension first on local server(WAMP or XAMPP) that is my issue

php扩展

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM