Quantcast
Channel: ExeOutput for PHP - G.D.G. Software Forum
Viewing all articles
Browse latest Browse all 1024

Using Curl on Self: heserver, localhost, whatever

$
0
0

Hello, I have a working project I’d want to convert for deskop use. The project extensively uses cURL to make requests to an API that’s also in php (I’m including it in the desktop)

Is this possible?

I checked and found that even wordpress sample > tools > site health … is unable to use curl

The REST API request failed due to an error.
Error: cURL error 6: Could not resolve host: heserver (http_request_failed)

My tests show…

`php_network_getaddresses: getaddrinfo failed: No such host is known – heserver://—

Please advise.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1024

Trending Articles