Ajax: load content from post I clicked

If all you want is the content of one post:

$post   = get_post( $id );

$output =  apply_filters( 'the_content', $post->post_content );

ob_clean();

echo $output;

die();

error code: 523