Solved

POST request with saved credentials after page redirect.

Posted on 2014-09-14
1
138 Views
Last Modified: 2014-09-21
I have created a page on wix. Inside of this page I have created "embedded HTML code" (if I correctly translated from russian).
Inside of this HTML code, I want to write JS code which
1. Gets the login from input tag.
2. Gets password from input tag.
3. Goes the the another site.
4. Make POST submit request with the  login and password which has been retrieved above.

It seems to me, at the step 3 it goes to another location and so the 4-th step is never run.
Should I assume such analogue that, redirection to another page is like returning from function?
0
Comment
Question by:Nusrat Nuriyev
1 Comment
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
ID: 40323875
You cannot post data on a re-direct. You need to have a  form an do a submit, however you may runinto security issues if you go cross-domain.  I am pretty sure that you are going to fail to solve this.  Most certainly you will fail from a limited environment like WIX that really does not have any kind of real professional level support for advance web development.

If you had a real website, it might be possible to accomplish something that looks like what you are trying to do, but it is not something that is going to come about easily.

Cd&
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now