Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 160517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T11:02:56+00:00 2026-05-11T11:02:56+00:00

I can’t work out how you pass arguments to an http post request with

  • 0

I can’t work out how you pass arguments to an http post request with trivial-http library. I can make a post but I’m not sure how to pass post variables. as a character stream.

http://common-lisp.net/project/trivial-http/user-guide.html#http-post

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T11:02:57+00:00Added an answer on May 11, 2026 at 11:02 am

    You need to pass the post variables in as the content of the post request. The most common way is as application/x-www-form-urlencoded, though multipart/form-data can be used if you need to do file uploads; see here for details on the encodings.

    To pass information in a POST request using application/x-www-form-urlencoded, you need to pass that in as the content type, and a url-encoded query string as the content. Something like this should work:

    (thttp:http-post 'http://example.com/submit-form' 'application/x-www-form-urlencoded'                  'foo=bar&baz=quux') 

    If you need to escape strings that will be passed in as keys or values for the POST requests, then you can use escape-url-query to escape them to be safe to pass in in a url-encoded body:

    (thttp:http-post 'http://example.com/submit-form' 'application/x-www-form-urlencoded'                  (format nil 'foo=~a&bar=~a' (thttp:escape-url-query foo)                                               (thttp:escape-url-query bar)))) 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 118k
  • Answers 118k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer This might be oversimplifying things, but why not just do:… May 11, 2026 at 11:30 pm
  • Editorial Team
    Editorial Team added an answer you can wrap your outgoing response using HttpServletResponseWrapper: class GetStatusWrapper… May 11, 2026 at 11:30 pm
  • Editorial Team
    Editorial Team added an answer You'd want the Observer Pattern for allowing other objects to… May 11, 2026 at 11:30 pm

Related Questions

Is it possible to replace javascript w/ HTML if JavaScript is not enabled on
I am currently running into a problem where an element is coming back from
Does anyone know how can I replace this 2 symbol below from the string
I can do an eval(something()); to execute the code dynamically in JavaScript. Is there
I can't seem to find details on how to unsubscribe from ubiquity commands. The

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.