Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Creating an HTTPS Tunnel
12-18-2013, 04:43 PM #1
- Join Date
- Dec 2013
- Thanked 0 Times in 0 Posts
Creating an HTTPS Tunnel
I am trying to set up communications to another site from our student portal. They are providing an API with the following instructions:
Step 1: call their API with a specific https url. That is to create the tunnel
Step 2: they will return an XML field in the form <valid-request>actual url to go to<valid-request>
Step 3: link to that url
I have been able to do step 1 with a window.location = "tunnel url" command.
That returns a page with the <valid-request> data displayed (in the html body)
How can I access the contents of the body tag, or is there a better way to do this?
Thanks for the Help!
12-18-2013, 07:50 PM #2
- Join Date
- Jun 2007
- Thanked 626 Times in 605 Posts
try a basic ajax demo and replace the demo url with your specific url and see if it works. if not, you need a server to bypass the cross-domain restrictions on pre-cors ajax.Create, Share, and Debug HTML pages and snippets with a cool new web app I helped create: pagedemos.com