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;