Web Development Tutorials
//

Tag: JSON

Programming

Make an HTTP Request in PHP with cURL

Call a JSON API from PHP with the bundled cURL extension. Run a GET and a POST, read the HTTP status code, and decode…

August 2, 2026

Programming

Read and Parse JSON files in PHP

Read and parse JSON files using the functions file_get_contents() and json_decode() in PHP. The function file_get_contents() will read the entire file into a string,…

April 5, 2023