Questions tagged as 'http-request'

1
answer

Get name resolution time on HTTP request

Live, Is it possible to get the name resolution time separate from the access time? The code I have is: HttpURLConnection connection; try { URL endereco = new URL(url); connection = (HttpURLConnection) endereco.openConnection();...
asked by 06.04.2018 / 16:43
1
answer

What exactly is the UTL_HTTP (ORACLE) SET_PROXY Proxy?

utl_http.set_proxy ( link '); In this example what exactly does this proxy address? I tried the internal IP and it did not work, the infra of my company said to have no "external proxy". Font Thank you.     
asked by 18.10.2018 / 01:28
1
answer

Program to pick up a webpage events

source code here too: link Goal: catch events in% with% Each month, the URL changes only the thin, for example, in April will be: http://www.bhaktiyogapura.com/2018/03/calendario-vaisnava-abril-2018/ As I can not get right on the pa...
asked by 29.03.2018 / 19:26
1
answer

What does it mean to put a type before a declaration? [duplicate]

Hello, I was studying HTTP Requests in Java when I came across a code and on a certain line there was a somewhat strange statement for me, can anyone explain to me what a type means before a statement? HttpURLConnection connection = null; U...
asked by 08.01.2018 / 23:24
1
answer

ChatBot PHP - Facebook Messenger

Hello, how are you? I am creating a chatbot but I am having problems with HTTP (POST) request. When I call a function to send the POST to Facebook Messenger it seems to loop and start sending all the posts. Generating this as a result: Lo...
asked by 06.11.2017 / 12:37
2
answers

How to create webservice JAX-RS REST Service and consume with android application?

I created a JAX-RS REST Service, with a function that returns me a JsonObject, I can retrieve this information in the browser through the URL , but I can not retrieve it from an android application. How do I correctly configure the Web Service...
asked by 24.06.2015 / 17:47
1
answer

Problem when requesting AJAX DELETE sending JSON

When I make a request DELETE in a url that does not support OPTIONS the browser returns me:    405 Method Not Allowed Is there any way I can prevent my browser from sending a OPTIONS pre-request before sending a DE...
asked by 18.06.2015 / 03:00
1
answer

How to use the "response" of an XMLHTTPREQUEST in CakePHP (2.5)

CONCLUSION: I put up here to get the view right, I was using onClick to fetch this function, but I was leaving the request out of the function so it was not working. I have an action in the controller Posts: public functi...
asked by 16.01.2015 / 09:19
1
answer

What is the reason for the delay of the first consultation with Amazon RDS?

Always after a short period without queries, when requesting from Amazon RDS (MySQL), there is a delay of almost 20 seconds, while the following requisitions happen normally, as you can see in the image, highlighted in the green rectangle! I nee...
asked by 19.11.2014 / 21:30
1
answer

WebRequest error C #

I'm doing a POST type request for a URL, but I always get the following error message: "The underlying connection was closed: Unexpected error in a send.". This request is made through a dll that creates in C #, which is used by Delphi. Wh...
asked by 20.12.2018 / 12:57