Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Decode perl cgi response in C

by rjt (Deacon)
on Jul 22, 2013 at 00:21 UTC ( #1045552=note: print w/replies, xml ) Need Help??


in reply to Decode perl cgi response in C

Is it possible for a C program do decode this without requiring a browser.

Yes.

However, beyond that, I really have no idea what you're asking. I gather you have a CGI on a web server, and you seem to be asking how to process its output on the client side. For this question the CGI may as well be written in GW-BASIC; its language is irrelevant.

What, specifically, do you need your C program to do? Do you need it to actually open a socket and communicate with the server, or only to parse the response text received some other way (how)? Unless there's more to this question, this has nothing at all to do with Perl.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1045552]
help
Chatterbox?
[davido]: And remember; time is hard. :) As soon as you think, I've got this, you'll discover that time is harder than that. :)
[1nickt]: TCLion are you parsing the dates with DateTime or another tool?
[1nickt]: I note DateTime::Format:: Flexible, announced immediately below this box in the CPAN feed
[Corion]: 1nickt: That one sounds sensible as it will tell you when it found an error
[1nickt]: Throws on error, I believe
[1nickt]: But should handle month as number or word

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (14)
As of 2017-03-23 14:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (287 votes). Check out past polls.