Sponsored Content
Top Forums Shell Programming and Scripting How to call perl web service from javascript? Post 302725691 by DGPickett on Friday 2nd of November 2012 01:32:51 PM
Old 11-02-2012
I suppose you have to know if it is a GET or POST CGI web service, the URL, fi encrypted https, the variable names, the input and possible output mime types, so you can construct a correct URL and HTTP POST input section and are ready for the response message. JAVASCRIPT to get a text resource from a URL should be in tutorials all over.
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Need to Call Web Service from Unix

I'm a Unix and C programming newbie, and I've been tasked with calling a web service from a legacy Unix app... I've come across libxml2 and libsoup, gnome's libraries for XML/SOAP processing... But I'm seeking guidance on the development process... :o (0 Replies)
Discussion started by: jahooper
0 Replies

2. Shell Programming and Scripting

How to call a web service using perl

Hello to all, What i would like to know is how to call a web service using perl. Where can i find documentation that easy describes this procedure? Any advices will be more tha welcome. Thank you. Best Regards, Chriss_58 (3 Replies)
Discussion started by: chriss_58
3 Replies

3. Shell Programming and Scripting

Call web service from Shell

Hello All, I have to import data from xml file to mysql database multi-time a day. I think it is better to write a tool to help this. So I write a web service in php. I don't know that if we can call a web service via shell script. If it can, I think we can create a cron job to help run it... (2 Replies)
Discussion started by: hapytran
2 Replies

4. Web Development

chrome window.parent call javascript func fail

Hi Everyone, Please refer to attached test.zip. Open a.htm, tested under IE, Safari, Firefox no problem, but ONLY google chrome fail, seems cannot use call parent javascript function under the child iframe. Please advice. Thanks (1 Reply)
Discussion started by: jimmy_y
1 Replies

5. Shell Programming and Scripting

web service call: curl output to xsltproc input

I need to invoke a web service and extract what I need from the response using a combination of curl and xsltproc. However, any file-based parameters that must be supplied to both these programs must be from stdin and not actual files. At least with curl, it seems to think that I am supplying a... (3 Replies)
Discussion started by: webuser
3 Replies

6. Shell Programming and Scripting

Web Service in Perl CGI scripting

Hi, I have a requirement to write web service in Perl CGi scripting.The web service will be called by some external programs.Any help would be appreciated.Sample hello world program will be more helpful. Thanks, Liyakath Ali. (1 Reply)
Discussion started by: liyakathali
1 Replies

7. Shell Programming and Scripting

Working web service call not working with curl

Hello, Newbie here, I have a perfectly well working web service call I can issue from chrome (PC Windows 10) and get the results I want (a dimmer being turned on in Fibaro Home Center 2 at level 40) I am not allowed to post urls but the below works with http and :// and... (3 Replies)
Discussion started by: abigbear
3 Replies
SVNWEB-SERVER(1p)					User Contributed Perl Documentation					 SVNWEB-SERVER(1p)

NAME
svnweb-server - simple webserver for SVN::Web SYNOPSIS
svnweb-server [--root DIR] [--port PORT] [--net-server Net::Server] DESCRIPTION
svnweb-server is a webserver that runs SVN::Web. It's an easy way to use SVN::Web without having to set up Apache (or any other web server). The tradeoff is that the server is very simple. But for light use then it may be perfectly acceptable. OPTIONS
--root DIR The directory in which you ran "svnweb-install". Optional, defaults to ".". --port PORT The port the server should listen on. Options, defaults to 8080. --net-server Net::Server The Net::Server subclass to use to create the server. A single, non-forking server is created by default. Other types of server can be created by giving the correct Net::Server subclass. For example, to use a server that forks to handle each request, use "--net-server Net::Server::Fork". SEE ALSO
SVN::Web BUGS
This is a simple server. Accordingly, a few features do not work properly at the moment. Redirects SVN::Web::Browse will redirect the client if the URL is missing a trailing "/". That redirection does not work with this server. That's not an issue for any URLs generated by SVN::Web, but may be an issue for URLs that are entered by hand. This will also affect SVN::Web::List's "redirect_to_browse_when_one_repo" option. cgi_class The "cgi_class" declaration (if any) in config.yaml is ignored. CGI is always used as the CGI class. Please report any bugs or feature requests to "bug-svn-web@rt.cpan.org", or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SVN-Web <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SVN-Web>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. AUTHOR
The current maintainer is Nik Clayton, <nikc@cpan.org>. COPYRIGHT AND LICENSE
Copyright 2006-2007 Nik Clayton. All Rights Reserved. perl v5.14.2 2012-06-11 SVNWEB-SERVER(1p)
All times are GMT -4. The time now is 10:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy