1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  1. I've been able to parse all the variables I need in order to post to a CL site like hxxps://post.craigslist.0rg/atl/P/cas/ but I'm not familiar with posting in a multipart form using cURL.

    Code:
    Content-Type: multipart/form-data; boundary=---------------------------200832108523390
    Content-Length: 4717
    -----------------------------200832108523390
    Content-Disposition: form-data; name="postingKey"
    
    CK2Ck58e73GOTLYB
    -----------------------------200832108523390
    Content-Disposition: form-data; name="test"
    
    z9v69
    -----------------------------200832108523390
    Content-Disposition: form-data; name="U:2FsdGVkX.183MTYzNzE2M2f8bCTdTD:2HFaxGvc-2MJmUzwfeWphN8H:imYAGOEU2DXKESQAAXTlU"
    
    POSTING TITLE
    -----------------------------200832108523390
    Content-Disposition: form-data; name="U2FsdG.Vk:X183MTYzNzE2M6GdMYDTqHAyk:Jkdw9ie-bH7q5A2Y1rWzQ"
    
    12
    -----------------------------200832108523390
    Content-Disposition: form-data; name="U2FsdGVkX183MTYzN.zE2M7zu5V0GBoN9:4_RbBrtw:xHpEq1zC5s9gMqH2T_ki9OhUl:85HE_VlkKI"
    
    SPECIFIC LOCATION
    -----------------------------200832108523390
    Content-Disposition: form-data; name="U2F.sdGVkX183MTYzNzE2M3FertAc39sU_jZmj95:jDTr3VzUhmcqU.AgHpN6hsIcKw"
    
    [email protected]
    -----------------------------200832108523390
    Content-Disposition: form-data; name="U2Fs:dGVkX183MTYzNzE2M4HpaDsp2Undb0NQXwkZQDJlJ74UwoBAU..KPLXZcXSzFZovfXkV6LnJc"
    
    [email protected]
    -----------------------------200832108523390
    Content-Disposition: form-data; name="U2F.sdGVkX183MTYzN:zE2M8h6b:EZ4fXEk2bQwPGOrRpzXcRDrEoUHQS:mh1s_1jVqk"
    
    C
    -----------------------------200832108523390
    Content-Disposition: form-data; name="U2FsdGVkX183MTYzNzE2Mye6CLQViK7apZWTf0SfcbeUtzIZJ3mgrYQ4UMurAnpgesFhjbvAV_4"
    
    U2FsdGVkX183MTYzNzE2MyCKzn62tRGhFvgeUW_vI6VpkkWmOWCxAGr7hzkhsz8ezMS08JwyyhQ
    -----------------------------200832108523390
    Content-Disposition: form-data; name="U2FsdGVkX183MTYzNzE2Mye6CLQViK7apZWTf0SfcbeUtzIZJ3mgrYQ4UMurAnpgfqZvTr9mq8Y"
    
    U2FsdGVkX183MTYzNzE2MyCKzn62tRGhFvgeUW_vI6VpkkWmOWCxAGr7hzkhsz8e2VNX1-7SMwk
    -----------------------------200832108523390
    Content-Disposition: form-data; name="U2FsdGVkX183MTYzNz.E2M8MJowFEbCog-.uATmBls:QjEH0bBPiM8rumRtE9TWF118"
    
    POSTING DESCRIPTION Posting Description POSTING DESCRIPTION Posting Description POSTING DESCRIPTION Posting Description POSTING DESCRIPTION Posting Description POSTING DESCRIPTION Posting Description POSTING DESCRIPTION Posting Description POSTING DESCRIPTION Posting Description POSTING DESCRIPTION Posting Description POSTING DESCRIPTION Posting Description POSTING DESCRIPTION Posting Description POSTING DESCRIPTION Posting Description POSTING DESCRIPTION Posting Description POSTING DESCRIPTION Posting Description POSTING DESCRIPTION Posting Description POSTING DESCRIPTION Posting Description POSTING DESCRIPTION Posting Description POSTI....
    -----------------------------200832108523390
    Content-Disposition: form-data; name="image1"
    
    add
    -----------------------------200832108523390
    Content-Disposition: form-data; name="imgfile1"; filename=""
    Content-Type: application/octet-stream
    
    
    -----------------------------200832108523390
    Content-Disposition: form-data; name="image2"
    
    add
    -----------------------------200832108523390
    Content-Disposition: form-data; name="imgfile2"; filename=""
    Content-Type: application/octet-stream
    
    
    -----------------------------200832108523390
    Content-Disposition: form-data; name="image3"
    
    add
    -----------------------------200832108523390
    Content-Disposition: form-data; name="imgfile3"; filename=""
    Content-Type: application/octet-stream
    
    
    -----------------------------200832108523390
    Content-Disposition: form-data; name="image4"
    
    add
    -----------------------------200832108523390
    Content-Disposition: form-data; name="imgfile4"; filename=""
    Content-Type: application/octet-stream
    
    
    -----------------------------200832108523390
    Content-Disposition: form-data; name="U2FsdGVk:X183MTYzNzE2M1bJXv3koO18LDnoRy.shpi.h5d.spB-eDtFYnVM6V9_hDkkMmswZWsHhg"
    
    U2FsdGVkX183MTYzNzE2Mzc-e-sXIeS_tI793ZNbCmi3xfRymxkcAxCx2f4rJqVk
    -----------------------------200832108523390
    Content-Disposition: form-data; name="U2FsdGVkX183MTYzNzE2Mz.c-e-sXIeS_GD3rXpbf4K7NeTiJ4fAaiqKC.q7JejTxt"
    
    Continue
    -----------------------------200832108523390--
    
    I know that the values need to be passed in as an array to CURLOPT_POSTFIELDS, but that is really the most I've gleaned. When I provide the appropriate values will things like Content-Disposition: form-data; name= be filled in automatically?

    Any help at all will be greatly appreciated. I feel like I'm so close to being able to post on CL, but this is the last hurdle. Now I'm off to work @ my lame job. Only gotta survive ~6 months before I can join the service.. I'm hoping an automated CL poster will help pay the bills.