1$api_url = 'http://dummy.restapiexample.com/api/v1/employees';
2
3// Read JSON file
4$json_data = file_get_contents($api_url);
5
6// Decode JSON data into PHP array
7$response_data = json_decode($json_data);
8
9// Print data if need to debug
10//print_r($user_data);
1Add action="<?php $_SERVER['REQUEST_URI']; ?>" if you dont know just copy and paste it