PHP - 如何在file_get_contents中获取ajax加载的内容

I am using file_get_contents function which returns all html data of page.

In that page, I am using ajax jquery requests which renders data in one of the div but I cannot get that data when I am using file_get_contents function.

Can anybody suggest the way to achieve this?

Use the AJAX request url in file_get_contents or in a curl request