I want to get a JSON response with ajax request from another site, but the site requires user authentication to acces to the JSON resource.
How should my AJAX request should be structured to send login and password information with ajax request and get JSON response?