how to read data from curl php
$data = json_decode(file_get_contents('php://input'), true);
4.25
4
$get_data = callAPI('GET', 'https://api.example.com/get_url/'.$user['User']['customer_id'], false);
$response = json_decode($get_data, true);
$errors = $response['response']['errors'];
$data = $response['response']['data'][0];
Thank you!
4
0
Are there any code examples left?
New code examples in category PHP