• 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] => [email protected]
                [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?

    • This topic was modified 5 years, 7 months ago by doegan1.
    • This topic was modified 5 years, 7 months ago by doegan1.
    • This topic was modified 5 years, 7 months ago by doegan1.

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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to Request setBody’ is closed to new replies.