Questions tagged as 'http-request'

2
answers

Error in request Delete in Spring: console indicates that method is not supported

I am making a request via Ajax to delete a user and I get the message that the delete method is not supported, does anyone have any idea what it could be? My controller: package com.br.livraria.controller; import javax.servlet.http.HttpServ...
asked by 25.10.2017 / 14:53
1
answer

ERROR when creating unique constraint with two fields in Laravel request?

I tried to implement an example that I found here in StackOverflow but without success. RULE: Unique double (user_created - description) / User code you created and Description CORRECT: |ID|USER_CREATED|DESCRICAO| |...
asked by 01.10.2017 / 02:18
1
answer

How to send parameters via post in java using HttpURLConnection?

I am having a problem to send through a POST method in java parameters using the HttpURLConnection. I've been trying in a few ways and researched a lot, but no way worked for me. I will leave the code below for you to tell me possible modificati...
asked by 13.07.2017 / 00:39
1
answer

HttpClient - WebException: The underlying connection was closed: The connection was unexpectedly closed

I created a very simple C # console application to test connection in an API, but I can not send the request. I tried with other APIs and they worked, but this specific one I can not. It would be a query in the CartolaFC API (it's commented on i...
asked by 24.06.2017 / 18:09
1
answer

Login Beanstalk API

I'm trying to do an integration with the http://api.beanstalkapp.com/ service and I'm having trouble doing the request in C #, it always returns the error below:    An exception of type 'System.Net.WebException' occurred in System.dll but...
asked by 06.07.2016 / 21:08
0
answers

What is a Mixed Content? And what are "optionally lockable content" and "lockable content"?

Although I understand almost nothing about this subject I was reading about Security Protocols and Certificates because I saw this Mixed Content alert on a site ReadingaboutthesubjectIcameacrosstermslike"Mixed Content", "Optionally Lo...
asked by 20.11.2018 / 11:46
0
answers

HttpWebRequest - Retrieve NFe

I am accessing the link from the Fazenda website ( link ) in order to return the filled NFe. When I make the first request I get the Captcha but when I send the Captcha answer it always returns the error "The session has expired. Please consu...
asked by 04.01.2017 / 14:29
0
answers

Keep active session for multiple requests using CURL is very slow

I made a script to automatically post ads to a classified site for a particular user. I store the ads ID locally in the database, then with the CURL, I login, and then loop through each ad ID to activate it on the corresponding date. But this...
asked by 01.07.2016 / 18:24
0
answers

Windows Phone does not execute request in API

Well, I have the following modules in my project: Concerts.Console Concerts.Mobile Concerts.Core Concerts.Models Concerts.WebClient Concerts.Tests Basically it is as follows: The Concerts.Core module uses the Concerts.WebClie...
asked by 08.10.2015 / 18:54
1
answer

HttpWebRequest Failure

I'm trying to consume a WebService via WebRequest in C # and simply can not get any response from the server. However, via Postman I get the answer using the same parameters. code: var JsonCliente = JsonConvert.SerializeObject(c...
asked by 28.07.2017 / 15:50