Questions tagged as 'http-request'

1
answer

Difference between HttpClientBuilder.create (). build (), HttpClients.createDefault () and DefaultHttpClient

When creating an Http connection using: HttpClientBuilder.create().build(), HttpClients.createDefault() or: DefaultHttpClient . What's the difference? private static CloseableHttpClient httpClient = HttpClientBuilder.c...
asked by 23.01.2015 / 14:16
1
answer

How to make GET and POST requests on android with a quick and up-to-date tool?

I'm currently using volley for web requests. But I find this tool very slow. I researched google for alternatives, but all the results I find are old, from 2017, 2016 down. About org.apache.http They are said to be obsolete,...
asked by 11.05.2018 / 02:20
1
answer

How can I check if a file exists in a URL with IdHttp?

I need to check if a particular online file exists if it is True , if not False . Can anyone help?     
asked by 17.04.2014 / 21:12
0
answers

HTTP request within a company that uses proxy

Sorry if this question is repeated. I always try to get the answer before asking here, and this time I did not find it (suddenly I did not use the correct key words, maybe for lack of knowledge, but whatever). CONTEXT I work in a company...
asked by 26.05.2018 / 18:21
1
answer

What Threads do you share when making Http calls?

Problem: I can not log in to a site more than once in%% of different%. My application is Threads . If I open multiple executable , each can login successfully on a Console application , only the first . I believe this e...
asked by 26.05.2016 / 01:38
1
answer

Web Crawler (Spider) with ajax in JSF using Node.js or api JSoup in java

I have the task of creating an interface optimized for touch monitor, taking data from a website ( link ). This site gives a listing of bus lines and consults their schedules, using an auto-complete ajax. Because it is a government agency,...
asked by 06.06.2016 / 15:04
2
answers

How, after a POST request, receive the JSON return in C #?

I need to have a POST link request, so I also get the json in php . This is the test code in php <?php if(isset($_POST['request'])) { echo $jsonret = '{"request":"sim","name":"'.$_POST['request'].'"}'; }...
asked by 07.11.2016 / 22:31
2
answers

Fetch API can not load [URL]. Response for preflight has invalid HTTP status code 404

Greetings! I am facing the following problem, I make a request [POST] via Fetch API and "call" does not complete. REQUEST VIA Fetch API const requestInfo = { method: 'POST', body: JSON.stringify({ email:'[email protected]' , pass...
asked by 27.07.2017 / 04:24
1
answer

Excel vba - HttpRequest GET

I'm trying to do a GET in VBA in Excel, and found several examples, below what I'm using: Sub http() Dim MyRequest As Object Set MyRequest = CreateObject("WinHttp.WinHttpRequest.5.1") MyRequest.Open "GET", "http://www.google.com",...
asked by 27.05.2016 / 22:30
1
answer

HTTP method delete has body?

At MDN documentation :    Request has body No       Successful response has body No       Insurance No       Idempotent Yes       Cacheable No       Accepted in HTML forms No I've also seen answers on the site saying that, like GET,...
asked by 24.05.2018 / 01:50