Quantcast
Channel: DreamFactory Forum - Latest topics
Viewing all articles
Browse latest Browse all 1523

Accessing certain ports in server script platform.api.get("host:80") respond to "false"

$
0
0

@Bahodur_Saidov wrote:

finally i raised up v8js, now i want to give a get request in scripts but cant find way to get on certain ports, even port 80, see:
var _result = platform.api.get("https://www.google.com:80");
throw "ok "+JSON.stringify(_result);

//output {
...
"message": "ok false",
..
}

it always give false if i indicate port number.... any idea ??
i tryed to use options... but of no avail....

Edit: I am using DF 1.9.x

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1523

Trending Articles