Test API With Online Testing Tool without Sign Up & Get Code Javascript Linux Php Tricks by Vivek Pal - November 23, 2021November 23, 20210 Post Views: 3,315 Friends, this post is for beginners who don’t know to deal with API’s and most API providers don’t provide complete code, instead, they provide basic documentation where shows URLs & parameters only. If you are a beginner you might face issues integrating with your code. Online REST & SOUP API Testing Tool I also faced similar issues in earlier days so I thought I should create a post for this. Today I am here with a solution with an online tool named Reqbin. It’s a very easy tool you can directly test your APIs without signup & Generate Code. Here you can test any API & Get Code in Any Programming Language Code Sample:- <?php $url = "https://www.facebook.com"; $curl = curl_init($url); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); //for debug only! curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); $resp = curl_exec($curl); curl_close($curl); var_dump($resp); ?> 1234567891011121314151617 <?php $url = "https://www.facebook.com"; $curl = curl_init($url);curl_setopt($curl, CURLOPT_URL, $url);curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); //for debug only!curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); $resp = curl_exec($curl);curl_close($curl);var_dump($resp); ?> Hope this post is helpful to you guys. Please Like Share & comment