41048

How to log in to remote website and read the data from logged in page using Javascript/Jquery/AJAX?

Question:

I am trying to build a website where I can read the data from remote website and show it on mine.

Remote websites I need to access all require username and password.<br /> ex: <a href="http://wwww.boostmobile.com" rel="nofollow">http://wwww.boostmobile.com</a> I have or will have correct login info in my database.

I would like to know how I can fill out the login info and submit it. After successfully logging in I would like to read various data and send it back to my website.

I would like to this with Javascript, Jquery, or AJAX.

To sum it up these are my questions:

<ol><li>How to send login info to remote website and submit it?</li> <li>How do you read and send back the data from logged in page to my website?</li> </ol>

Thank you so much in advance!

Answer1:

Apparently this is possible as stated by omouse. The following link may help: <a href="http://www.ibm.com/developerworks/library/wa-aj-jsonp1/" rel="nofollow">http://www.ibm.com/developerworks/library/wa-aj-jsonp1/</a>

Recommend

  • Fancybox iframe from Google Map V3 marker click
  • Redirect to external URL with return in laravel
  • How to get string before last slash and after second last slash in URL
  • Load Class files over the network with Reflections
  • Why are “sc.addFile” and “spark-submit --files” not distributing a local file to all workers?
  • Dynamically add UI elements to StackPanel after button pressed
  • triggering user space with kernel
  • (Tcl/Expect) clear screen after exit
  • sweetalert2 inputoptions from file in select example
  • New Firebase failed: First argument must be a valid firebase URL and the path can't contain “.”
  • JSON encode and decode on PHP
  • Building Qt project for C++11 standard
  • Web.config system.webserver errors
  • Button click event not firing in jQuery
  • chrome.tabs.executeScript only fires when the Developer Console is open
  • JSON response opens as a file, but I can't access it with JavaScript
  • MongoError: Incorrect arguments
  • Django rest serializer Breaks when data exists
  • How to rebase a series of branches?
  • Recording logins for password protected directories
  • Retrieving value from sql ExecuteScalar()
  • Is there any way to access browser form field suggestions from JavaScript?
  • req.body is undefined - nodejs
  • How to convert from System.Drawing.Color to Excel.ColorFormat in C#? Change comment color
  • How to extract text from Word files using C#?
  • How to check if every primary key value is being referenced as foreign key in another table
  • Sending data from AppleScript to FileMaker records
  • Function pointer “assignment from incompatible pointer type” only when using vararg ellipsis
  • Properly structure and highlight a GtkPopoverMenu using PyGObject
  • 0x202A in filename: Why?
  • bootstrap to use multiple ng-app
  • Matrix multiplication with MKL
  • How to get icons for entities from eclipse?
  • Getting error when using KSoap library to consume .NET web services
  • File not found error Google Drive API
  • Turn off referential integrity in Derby? is it possible?
  • Authorize attributes not working in MVC 4
  • JaxB to read class hierarchy
  • How to get NHibernate ISession to cache entity not retrieved by primary key
  • UserPrincipal.Current returns apppool on IIS