Problem description:
In the original group buying system, the text message interface is transplanted to other websites.
Problem Encountered
1. This method can be used to directly call the Group Buying SMS sending method. However, an identity authentication is required to log on to the group buying system before sending the message successfully.
Based on the source code, finding the essence of the SMS gateway is also a combination of URL + User Name + password + sent Mobile Phone + sent content. Directly extracting this URL can be called without group buying system verification.
2. porting to other websites
Use ajax to call the request and submit the URL.
Solution 1 use an IFRAME to obtain the user's mobile phone number and content, and then change the SRC of the IFRAME to load the page and submit the code, however, this method exposes the identity information of the URL of the SMS interface.
Solution 2: Use ajax to call and simulate a get submission in the background. This solution is relatively secure !)