Getting Error //: Array to string conversion , while testing api from postman How to fetch value from Body Raw in postman to Rest Controller in codeigniter?
$input = json_decode(file_get_contents("php://input"), true); $s[] = $input['service_id']; $u[] = $input['user_id']; $q[] = $input['qty']; foreach($u as $user) { foreach($s as $service) { foreach($q as $qtty) { } } }
1.4m articles
1.4m replys
5 comments
56.9k users