I have one wordpress and other HTML website. In my wordpress contain user posts. I need to get the content from wordpress site to my HTML website using AJAX request.
I will pass user email Id through the AJAX request ,from this request i need to get the specified user posted content from wordpress. Is it possible.Please suggest the better option.
First of all you can get user details from
https://codex.wordpress.org/Function_Reference/get_current_user_id
[to get this you would need to install some plugin, that help you to run PHP in wordpress Environment]
Then you can use ajax to place appropriate data, to other web services or web page.
http://api.jquery.com/jquery.post/