• Resolved amutha4491

    (@amutha4491)


    Hi Team

    I need to integrate WordPress form with external API. Datas are

    Url: https://206.189.136.211/rider/services/contact
    Method : POST
    Token : eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJ1c2VyMiIsImVtYWlsIjoidXNlcjJAZ21haWwuY29tIiwibW9iaWxlX25vIjoiOTg3NDM1Mjc4MCIsImlhdCI6MTY0OTIyOTM2Nn0.UVq4UUIpXfPdaoWVcEH9itusodZhW-Mg68LD1RJnGvg
    Body :
    {
        "name": "Antony",
        "email":"[email protected]",
        "phone":"9969696586"
    }

    But its showing error. can you please help us with this

    https://prnt.sc/Hy5yfXZiavO5
    https://prnt.sc/V8hB9x5f5Zky
    https://prnt.sc/iemtqBr-GUnH

    • This topic was modified 2 years, 6 months ago by amutha4491.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WPGetAPI

    (@wpgetapi)

    Hi there,

    Can you please try adding a row to the Headers and add the following values into the Name/Value pair:

    Name: content-type
    Value: application/x-www-form-urlencoded

    Also, what is your ‘Encode Body’ setting set to? Can you try to set this to URL Encode?

    Plugin Author WPGetAPI

    (@wpgetapi)

    I am going to mark this as resolved as we haven’t heard back.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error in output’ is closed to new replies.