Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 exploiting the Monastery: (6)
As of 2014-12-29 11:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (186 votes), past polls