Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $request = file_get_contents('php://input');
- $input = json_decode($request, true);
- $id = $input['leads']['nome'];
- echo $id;
- $request = file_get_contents('php://input');
- $input = json_decode($request, true);
- $lead = $input->leads;
- foreach($lead as $result){
- echo "ID: ". $result->id;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement