Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: REST Webservices and CGI.pm

by Corion (Pope)
on Oct 18, 2011 at 08:12 UTC ( #932082=note: print w/ replies, xml ) Need Help??


in reply to Re^2: REST Webservices and CGI.pm
in thread REST Webservices and CGI.pm

param('XForms:Model')

would mean that something script sent a CGI parameter to your script with the name XForms:Model. Why would what other programs send to your script need to be documented in CGI.pm? Update: Ah - XForms:Model would be somewhat "special", I now see. If this is handled by CGI.pm, then it should be documented there indeed.


Comment on Re^3: REST Webservices and CGI.pm
Select or Download Code
Re^4: REST Webservices and CGI.pm
by wdsaeghe (Acolyte) on Oct 18, 2011 at 08:23 UTC
    Indeed. The code that sends, is this:
    my $browser = LWP::UserAgent->new; push @{ $browser->requests_redirectable }, 'POST'; my $response = $browser->post( $url, [], 'content-type'=> 'application/xml', 'content' => $xml );
    and just using a commandline curl POST (to indeed check LWP was not doing special stuff and inventing XForms:Model parameters) gives the same result.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://932082]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2015-07-03 23:59 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 (57 votes), past polls