Ajax request for another name



  • Hey, everybody, there's a question like this, is it possible to send Ajax a request to the side dose from https while your domain is at https?

    I'm using BIC testing, but he doesn't work at https, just hangs and doesn't show signs of life. If you send a request to him when your website is online, everything's working well, but if the website is online, everything, the service stops answering. I understand that because Ajax automatically translates url from https.



  • try to use the php and curl, and already with the php file, you have ajaxjax, for example, the masses can be collected and processed in json. On the Internet, there are articles on curl's work from https.

    curl in php is a library that allows us to connect to servers of different types and protocols. libcurl currently supports protocols https, https, ftp, gopher, telnet, dict, file and ldap. It's easy to use, for example, when you need to use API. Her description is quite enough to be found on php.net/manual/ru/book.curl.php, but we can look at examples of use and stackoverflow.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2