Error to make a request using Arduino Uno and ESP8266
A HTTP requests is comprised of more than just GET /webservice/. Take a look at what curl (console-line HTTP client) does.

C:\&gt;curl -v "http://ternary.com.br/webservice/"
*   Trying 187.84.237.200...
* Connected to ternary.com.br (187.84.237.200) port 80 (#0)
&gt; GET /webservice/ HTTP/1.1
&gt; Host: ternary.com.br
&gt; User-Agent: curl/7.46.0
&gt; Accept: */*
&gt;
&lt; HTTP/1.1 200 OK
&lt; Date: Fri, 11 May 2018 15:04:16 GMT
&lt; Server: Apache
&lt; X-Powered-By: PHP/5.6.30
&lt; Vary: Accept-Encoding
&lt; Cache-Control: max-age=0, no-cache, no-store, must-revalidate
&lt; Expires: Wed, 11 Jan 1984 05:00:00 GMT
&lt; X-UA-Compatible: IE=Edge,chrome=1
&lt; Pragma: no-cache
&lt; Transfer-Encoding: chunked
&lt; Content-Type: text/html; charset=UTF-8
&lt;
&lt;h1&gt;Hello Versa&lt;/h1&gt;* Connection #0 to host ternary.com.br left intact


You will have to at least transfer the minimal correct HTTP Headers of the form

GET /webservice/ HTTP/1.1
Host: ternary.com.br
Connection: Close


To get an answer. Also mind the ending \r\n\r\n. Refer to this website for more headers.

When I only send GET /webservice/ I also get 404 page.

C:\&gt;cat test
GET /webservice/

C:\&gt;cat test | ncat ternary.com.br 80
[...]
        &lt;title data-i18n="[html]404_page.title"&gt;404 ÔÇô P├ígina n├úo encontrada&lt;/title&gt;