Support » Plugin: Redirection for Contact Form 7 » How to Request setBody

  • Resolved doegan1

    (@doegan1)


    Hi,

    I have problem using wpcf7-redirect pro

    when I use postman

    $request->setBody('------WebKitFormBoundary7MA4YWxkTrZu0gW
    Content-Disposition: form-data; name="csr"
    
    -----BEGIN CERTIFICATE REQUEST-----
    xxxxx
    -----END CERTIFICATE REQUEST-----
    
    ------WebKitFormBoundary7MA4YWxkTrZu0gW--');

    This one is outside

    $request->setQueryData(array

    but when I use wpcf7-redirect pro

    it will appear like this

     [body] => Array
            (
                [URL] => 
                [apiID] => xxxxxxx
                [ipaddr] => xxx.xxx.xxx.xxx
                [domainname] => sslindonesia.com
                [mode] => NW
                [dcvmethod] => EMAIL
                [dcvemail] => postmaster@sslindonesia.com
                [username] => yudha
                [userrank] => Manager
                [userdept] => Development Team
                [email] => xxx
                [tel] => 02153660861
                [zip] => 11540
                [addr	] => West Jakarta
                [prod_sect] => 501
                [years] => 1
                [plus_day] => 1
                [webserver_type] => 1
                [sigalg] => SHA2
                [eng_road_addr] => Jakarta
                [csr] => -----BEGIN CERTIFICATE REQUEST-----
    xxxxx
    -----END CERTIFICATE REQUEST-----
            )

    how to separate CSR from it like postman?

    The page I need help with: [log in to see the link]

  • The topic ‘How to Request setBody’ is closed to new replies.