bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] How do you handle the contents of POST in a CGI script


From: alexweiner
Subject: [Bug-apl] How do you handle the contents of POST in a CGI script
Date: Fri, 09 Oct 2015 18:29:44 -0700
User-agent: Workspace Webmail 5.15.9

Bug-APL & Juergen,

I am struggling to follow our previous conversation. Pretty much, I am confused about the source of the POST contents. I believe you mentioned that it should come from stdin, and if I understood, it is not possible to use it jointly with CGI scripting:

#!/usr/local/bin/apl
)COPY /usr/local/lib/apl/wslib5/FILE_IO.apl
)COPY /usr/local/lib/apl/wslib5/HTML.apl
ContentsOfPOST← ??????????
⍝Do stuff with ContentsOfPOST
xTITLE←'Title'
xDESCRIPTION←'Desc'
yBODY←(,¨'{}') ⎕INP 'END-OF-⎕INP'

END-OF-⎕INP
HTML∆emit HTML∆Document
)off


-Alex

reply via email to

[Prev in Thread] Current Thread [Next in Thread]