php API response as JSON Kahnu Help July 08, 2022 api 0 Comments header('Content-type: application/json'); $person = array( "name" => "Johny Carson", "title" => "CTO" );echo json_encode( $person ); Tags api php wordpress
0 Comments
Post a Comment