Questions tagged as 'http-request'

1
answer

Ionic 2, Http request only works after second call

I created an application sidemenu and a provider ( conexao-home.ts ). On a test page I created the function buscarUsuarios (associated with a button ), which calls the function getRemoteUsers on provide...
asked by 09.05.2017 / 19:30
0
answers

Problems with Post Call

Next I'm taking the following error when calling a POST method 405 (Method Not Allowed) follows the method I'm trying to call @RequestMapping(value = "/upload", method = { RequestMethod.POST }) public @ResponseBody Object upload(@Requ...
asked by 26.05.2017 / 15:39
0
answers

How to receive an array in the body of a nodejs route

Good morning everyone. I am facing a great difficulty. I started a week of studies on nodeJS, so I'm pretty noob. I have a code that returns an object in json format for me and I would like to create a page that Body would receive this. howev...
asked by 27.07.2017 / 14:32
0
answers

Content size of a variable from a request

I have a web application developed in Laravel 5.0, which receives a POST request from another application. The data sent is a JSON with a relatively large amount of information, and when I get this request and access the data via Request::all...
asked by 03.03.2017 / 14:02
0
answers

Dynamic input reading in C #

I'm developing a solution in Winforms C # that receives a text file via network, via HttpWebRequest : HttpWebRequest request = (HttpWebRequest)WebRequest.Create(conexao + "/piece.txt"); request.KeepAlive = false;...
asked by 03.11.2016 / 13:23
1
answer

Laravel request validation

I am having problems with validations in laravel , in real it is validating correctly however I need to inform the user which field X is required or not. Today the system simply sends to the same screen cleaning all my form this would n...
asked by 15.09.2016 / 05:33
0
answers

Identifying data format in web service

Good evening! I am implementing a service on a system for other systems to consume. This system consumes data in XML and JSON formats. I want to know if you have any way to identify when the user sends a string in XML format. Here's my code....
asked by 07.07.2016 / 22:24
0
answers

Slim Framework status code 404

When making requests I get the following error.    XMLHttpRequest can not load link . Response for preflight has invalid HTTP status code 404 My .htaccess looks like this: link When I'm not inside my domain it works. So I dec...
asked by 11.07.2016 / 15:56
1
answer

Browser request works, but Java gives error 301

When I perform an HTTP request for
asked by 27.03.2016 / 04:41
0
answers

Problems with iFrame and X-Frame-Options Header

I was starting a simple project but when I use <iframe> a problem occurs, the problem of the page that I'm requesting does not appear. I did a search on the subject and found some people talking about X-Frame-Options Header...
asked by 24.09.2015 / 04:11