Skip to content

accessing query string parameters? #40

Answered by alanz
alanz asked this question in Q&A
Discussion options

You must be logged in to vote

And to answer my own question,

(defun on-page1 (body)
  (let ((params (form-get-data body)))
    (log-console (window body) "A message in the browser's log")
    (create-div body :content params)
    (create-div body :content (format nil "yourname = ~A"
                                      params)))
  (run body))

does the job

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@aykaramba
Comment options

@rabbibotton
Comment options

Answer selected by rabbibotton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants