fixed
Problem description:
always tells me that the server not found but if the access is always on
https://www.paygol.com/reports/xml/ transactions?key=ee2cb20e-da7d-1030-a6e6-4a20be5d94cd
help me please
Code:
fixed Problem description: always tells me that the server not found but if the access is always on https://www.paygol.com/reports/xml/ transactions?key=ee2cb20e-da7d-1030-a6e6-4a20be5d94cd help me please |
exactly doesn't support https but the url without "S"(http://www.paygol.com/reports/xml/ transactions?key=ee2cb20e-da7d-1030-a6e6-4a20be5d94cd) works in browser but not in byond :(
|
The second link does not work for me. It is a redirect, which BYOND probably doesn't support either.
|
okey you mean I should change the url to http?
I do not know how D: any example please? |
You would need a web server running to change the URL. For privacy issues, it is advised that it is running on a private network with external access disabled.
Let's say you navigate to http://localhost/proxy/ transactions.php?key=ee2cb20e-da7d-1030-a6e6-4a20be5d94cd, you would want to use curl in apache to invoke the call on the following url, and then echo the content to the page. "https://www.paygol.com/reports/xml/transactions?key=".$_GET["key"]; Using curl in PHP, I found the following examples: http://www.php.net/manual/en/curl.examples.php |
Your options are to use a libary that uses lib-curl, or to create a local 'proxy' site which consumes the https site and is accessible via http, or to use another process to download the results into a shared location and use the results from there.