Solved

Click on hyperlink on different website

Posted on 2014-09-12
1
257 Views
Last Modified: 2014-09-29
I am building a website to interface with our software. However it currently has a dreadful cloud based website that I need to utilize to submit information to our software.

I know I can use the POST in order to login to the site and hopefully fill in the blanks and submit it . However one issue I have.

When you login it gives you hyperlinks for different accounts that are available.

Is there a way to have my website click a hyperlink based on description and load the next page for me to POST data into the fields?

I am very curious some code samples will be nice as well.

WebsiteA(my website) -->logs into WebsiteB(other vendor)-->WebsiteA clicks hyperlink for property that has 2000 bob st. in its description.

WebsiteB opens the file and Website A POSTS data to that site.
0
Comment
Question by:desiredforsome
1 Comment
 
LVL 42

Accepted Solution

by:
Rob Jurd, EE MVE earned 500 total points
ID: 40320474
Firstly I'm not a .NET programmer so I can't give you any definitive code samples but I can guide you through how you need to do this.

IMHO, the best way to do this is add a "middle man" on your server that takes requests from your clients on Website A and does the required actions on Website B and returns the results to Website A.

Due to security restrictions, your clients cannot access Website B from A directly and require this middle man (don't even go there with iframes).

The forms on Website B will have an associated URL that the data is posted to.  By opening your developer tools and having the Network tab open, you'll see what data is sent when submitting whatever form on Website B.

So now you have a URL and the required data that needs to be sent to website B to perform the required action.

On your server (Website A) you now send and receive data to those URLs and pass it back to your clients on A.  PHP uses CuRL to achieve this but I'm pretty sure .NET has inbuilt tools that can load / post data from external sites.

Your clients need only to fill out the minimum fields that in conjunction with other required data and sent onward to Website B and back again via your server (the middle man)
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question