Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

REST Webservices and CGI.pm

by derby (Abbot)
on Apr 12, 2007 at 11:52 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-20 00:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found