Questions tagged [getresponse]

139 questions
2
votes
1 answer

python http client no response reason and incorrect response status

I'm using python 2.6 to create a HTTPS client that can POST XML data. So far it is able to POST to a HTTP server I also wrote. The issue is that when I try to return the status and reason from the response, it isn't correct. The HTTPS server should…
luker3
  • 21
  • 1
2
votes
0 answers

Restful Webservice method for get request

I am trying to write a web service method for get request and its return type is ResponseEntity. But when i trying to run this from Postman then its gives response body as Not acceptable. following is the result and code of my method. …
2
votes
3 answers

Why does SQL Server CLR procedure hang in GetResponse() call to web service

Environment: C#, .Net 3.5, Sql Server 2005 I have a method that works in a stand-alone C# console application project. It creates an XMLElement from data in the database and uses a private method to send it to a web service on our local network.…
2
votes
1 answer

Header of GetResponse API version-3 in C# (MVC-5)

I am a bit confused that when I get the error: Problem during authentication process, check headers! Unable to authenticate user, incorrect token There is definitely something wrong with request header. Can any one tell me the correct way of…
Asif Mehmood
  • 964
  • 2
  • 14
  • 35
2
votes
1 answer

Webservice returns anyType{} android

I'm new in the programming world, so I just need some help. I must consume a webservice on android. I've already done one that works fine, but the problem happens when I have to pass a parameter. I'm not sure what I'm doing wrong. Here's the code of…
Vinicius Cruz
  • 21
  • 1
  • 2
2
votes
0 answers

GetResponse() in API call causes (400) Bad Request error

I am very new to programming. I'm setting up a loop that continuously send a POST request to a site through the REST API. The POST request works properly and the way I intend. I would like to add functionality that requires the response from this…
Jake K.
  • 21
  • 1
  • 4
2
votes
1 answer

KeepAliveException when using HttpWebRequest.GetResponse

I am trying to POST an attachment to CouchDB using the HttpWebRequest. However, when I attempt "response = (HttpWebResponse)httpWebRequest.GetResponse();" I receive a WebException with the message "The underlying connection was closed: A connection…
Lucas
  • 478
  • 4
  • 15
2
votes
1 answer

View Custom Field Passed with GetResponse Form

I'm passing document.referrer to GetResponse when a user submits the subscription form. The custom field has been added to the form at runtime as instructed in this document and the "Forward Data" option is on. Upon form submission, the parameters…
chris
  • 649
  • 7
  • 26
2
votes
1 answer

Getresponse form

I bought HTML landing page theme from themeforest. The theme has opt in e-mail form. Now i want to intergrate it with getresponse - so it would work like regular getresponse web form. How can I do it? HTML theme code is:
1
vote
1 answer

VB.NET ~ PUT WebRequest raising exceptions when trying to GetResponse of it

I am getting TWO exceptions. The first one in the regular code and the second into the exception handling block. I have this function (below) that supposed to change user settings in a Web API using PUT method. Everything runs fine until the point…
Chevelho51
  • 25
  • 4
1
vote
1 answer

Pass Email and Name to GetResponse via API

Dear good people of Stack. I have a custom PHP web site and would like to ask for help in passing new user's name and emails to my GetResponse list. I currently have a Mailchimp integration, which works great, but would like to rewrite it for…
Arsen K
  • 11
  • 1
1
vote
2 answers

KSoap soapEnvelope bodyIn and getResponse() problem

I am using the following code to call a method by soap. It is working perfectly. private static final String SOAP_ACTION = "http://tempuri.org/GetAuthenticateUser"; private static final String METHOD_NAME = "GetAuthenticateUser"; private…
dev_android
  • 8,698
  • 22
  • 91
  • 148
1
vote
1 answer

Time out Exception when invoking GetResponse()

I create a WebRequest to post some HTML content to another web server. When I use normal text content, it works, but when I post HTML content I get a time out error when invoking GetResponse(). WebResponse response = request.GetResponse() How can I…
vml19
  • 3,816
  • 11
  • 45
  • 63
1
vote
1 answer

GetResponse API contact creation with custom filed php

I'm trying to create new contact with custom fields using GetResponse API, here is my code: $headers = [ 'Accept: application/json', 'Content-Type: application/json', 'X-Auth-Token: api-key…
1
vote
2 answers

In REST Assured, how do I use a map of parameters?

Issue: Response resp = given().headers(headerElements).param("language", "en").and().param("currency", "***").and() .param("destination", "**").and().param("theme", Arrays.asList(arr)).and().param("order", "1").and() …
Sidhant
  • 675
  • 1
  • 7
  • 13
1
2
3
9 10