Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

REST Webservices and CGI.pm

by derby (Abbot)
on Apr 12, 2007 at 11:52 UTC ( #609632=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      GET http://foo.com/webservice/<productid>
      DELETE http://foo.com/webservice/<productid>
      POST http://foo.com/webservice/<productid>
      PUT http://foo.com/webservice
    
  2. or download this
    package Foo::CGI::Rest;
    
    ...
    }
    
    1;
    
  3. or download this
    sub cgiapp_get_query {
      my $self = shift;
      require Foo::CGI::Rest;
      return  Foo::CGI::Rest->new();
    }
    
  4. or download this
    sub update {
      my $self   = shift;
    ...
      my $xmlstr = $cgi->get_data();
      ...
    }
    
  5. or download this
    package Foo::CGI::Rest;
    
    ...
    }
    
    1;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://609632]
Approved by Corion
Front-paged by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (20)
As of 2015-07-01 15:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (3 votes), past polls