Displaying 20 results from an estimated 11000 matches similar to: "Curl::Multi post"
2011 Oct 11
5
Help to write to a file
Dear all:
I am having some problems to use the function "sink()". Basically I am doing
a loop over two files which contain unit-root variables. Then on a loop, I
extract every i element of both files to create an object called z. If z
meets some requirements, then I perform a unit root test (ADF test),
otherwise not. As this process is repeated several times, for each i I want
to get
2010 May 03
2
Calling a RESTful Web service from Dialplan????
Dear All,
Last Week i tried and goggling more on how to call RESTful webservice from
Dialplan?
i found *CURL* function but while i tried to use it ,it 's not supported
HTTPS request and we cannot set headers while send a request.
also without HTTPS . i get result it will return a string means whole
xml,json request is represented in string format, how can i parse that
request?
my
2006 Jan 04
5
Webservice External XMLRPC
Hello i have some trouble getting my webservice to run .
I have the following webservice :
class DirectSpoolAPI < ActionWebService::API::Base
api_method :add, :expects => [{:html=>:string},{:from=>:string}],
:returns => [Customer]
end
class DirectSpoolService < ActionWebService::Base
web_service_api DirectSpoolAPI
def add(html,from)
Customer.find(:first)
end
2011 Jun 06
1
RCurl and kerberos
Dear list,
I would like to call a Kerberos-authenticated web-service from within R.
Curl can do it:
$ curl --negotiate -u : "http://my.web.service/"
so I would expect that RCurl also has the capability, but I have not been able to find the correct options to set.
listCurlOptions() does not return anything with negotiate, and searching the source of RCurl, the only thing I found was
2018 Oct 04
3
CURL to post application/json
We tried to use the CURL fn to POST json, but it's sent as form data and
there seems no support for changing the Content-Type header. We switched to
invoking curl in the shell.
All the documentation I could find says there is just one parameter for the
url and an optional second for POST body. Is there an undocumented way to
set Content-Type?
-------------- next part --------------
An HTML
2006 Jan 30
3
webservice consumption over SSL
Hi, as long as nobody answered to my previous question, i''ll try to
write in another way.
I have:
webservice WSDL link (https://something?WSDL, that''s .net webservice)
pem file (certificate, needed to authentificate for gettting data)
i need :
to consume that webservice without describing API''s for each method (i
mean use WSL to construct needed structures or objects).
2006 Mar 28
1
What if a webservice is not available = "execution expired" error
Hi,
I''m using a webservice in my application. How can I make it so that my
application will only try to connect to the webservice for a certain
period of time and then give up?
Right now my code is using a begin-rescue-else but sometimes I get a
"execution expired" error if the webservice is not available or takes
too long to respond.
Thanks,
Peter
begin
service =
2008 Jul 16
4
asterisk + web services
List,
We're working on an upcoming job that may require us to access a web
service (WS). I'm curious to hear peoples thoughts on the best way to
do this with asterisk. We'll be submitting a single number to the WS
and it will return a success or error.
One solution would be to write a simple perl script to interface into
to the WS, and use SYSTEM() from asterisk to call it.
2006 Jul 27
7
WebService
Hi all!
how do I make a WebService using rails?
thaks !
--
Cordialmente,
Carlos J?nior <junior@boanoitebh.com>
(31) 9244-6543
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060727/f52d1e1c/attachment.html
2006 Jan 30
3
Arrays of objects as parameters to webservices
I think I am missing something terribly obvious. Is it possible to have
an :expects parameter for a webservice that is an array of objects? I
want to have a single webservice that expects all my line items (for an
order). Is this something that is possible?
--
Posted via http://www.ruby-forum.com/.
2017 May 18
2
Bug: floating point bug in nclass.FD can cause hist() to crash
Hello everybody,
This is a bug involving functions in core R package:
graphics::hist.default, grDevices::nclass.FD, and
base::pretty.default. It is not yet on Bugzilla. I cannot submit it
myself, as I do not have an account. Could somebody else add it for
me, perhaps? That would be much appreciated.
Kind regards,
Sietse
Sietse Brouwer
Summary
-------
Floating point errors can cause a data
2009 Jun 05
1
Slow/unpredictive response of post_form from rails lib
Hi friends,
I''m facing a very strange problem...
I consume a webservice from within my rails app. I''ve written a thin
wrapper around the webservice using Net::HTTP.post_form
However, when calling the API from within my controllers, the API calls
randomly fail, complaining about timeout.
But - when I wrote a simple iterative test (500 iterations), calling the
same webservice
2007 Apr 24
1
problem POSTing with curl and REST using scaffold_resource
I issued the following curl command to post to the database using
REST:
curl -i -X POST -d "<heartrate><heartRate>102</
heartRate><sessionID>1002</sessionID><timeStamp>15068</timeStamp></
heartrate>" http://localhost:3000/heartrates
I have tested the GET (with curl also) and it works fine!
curl http://localhost:3000/heartrates/45
2006 Jul 24
1
XMLRPC WebService and Structs
Hi
First off, I apologise if this is covered somewhere and I just don''t
get it... I''ve looked far and wide ....
As a part of my current project I need to hook up to a particular
XMLRPC webservice that won''t be available for me to use until close
to launch date... So I am trying to recreate the webservice that
mirrors the live one so I can test my application
2006 May 17
6
Problem Consuming a Web Service
I''m trying to consume a webservice from my rails application and have
discovered an interesting problem. I can call webservice functions
just fine, as long as they do not require any arguments, but function
that do require arguments do not work. The arguments are sent as
either null or an empty string.
My API has these method definitions:
api_method :otherFunction,
2014 Jul 22
3
Question: Publishing R/S objects with WebServices (SOAP/WSDL)
Hello,
Can anyone tell me if there is a package which will allow me to write a
package in R, then publish the package using WebServices? The idea is that
I want to be able to pass a data set into R, have R perform the
calculations, then send the result back to either a .Net application or a
LIMS BASIC application.
So far I see many packages that allow R to consume WebServices, but I
haven't
2006 May 02
1
SOAP client not seeing all of my AWS service methods
Hi all,
Ruby 1.8.4
Rails 1.1.2
I''m a newb when it comes to SOAP, but I thought I''d give it a shot. I
have several web services defined. However, when I try to connect with
a SOAP client it seems the client is only picking up one of the
services, called Hardware.
require ''soap/wsdlDriver''
wsdl_url =
2008 Dec 19
2
Conference with an AGI inside Queue for password change
Hi,
I have a typical call center with queues and agents added via
AddQueueMember. One of my requirement is to implement a forgot
password function. If a caller does not remember the password, he
calls up an unauthenticated line and the agent manually authenticates
him. Then the caller should have a provision to reset his password.
The requirement is that the agent should not know the new password
2006 Jan 20
2
AWS and passing in a Model
Hi,
I have a webservice. And I want to pass in, a model.
So, for example:
api_method :save_person, :expects => [Person]
When I do this I get an error saying that I cannot have ActiveRecord
objects as parameters. Fine. I can have AWS Structs as parameters. I
don''t want to start ''maintaining'' a struct everytime I change the table
structure od Persons.
So, is
2016 Apr 12
3
Slow authentication on C7
On 04/12/2016 09:51 AM, James Hogarth wrote:
> To the OP enumerate is always painful, I'd remove that for a start.
This was my experience too, for what it's worth. When I first set up a
new system pointed at LDAP it was absurdly slow to authenticate. Setting
Enumerate to False in /etc/sssd/sssd.conf made all the difference.