• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

  • Important: Any reported problems and issues with your integration will be reported to you and we will encourage the app developers help to resolve those integration issues.

How to Use "Is JSON Params?" Option in URL-Encoded Form Data Request

Status
Not open for further replies.
What is "Is JSON Params?":

The "Is JSON Params?" option in URL-encoded form data requests provides a solution for varying data format preferences in different applications. By leveraging this option, you can seamlessly transmit parameter values as JSON objects or array values, based on the specific requirements of the target application.

Such as Zoho Sheets and Zoho Campaigns, that allows you to choose the format for sending URL-encoded form data requests while certain applications like Karta and Acumbamail expect data to be passed as array values.

JSON Format:

Applications like Zoho Sheets and Zoho Campaigns require parameter values in JSON format. For instance, consider the following URL-encoded form data request:
Code:
listkey=3z626989ab54797e710d70b36a07f&domain=zoho.in&contactinfo={"Contact Email":"[email protected]","First Name":"ma","Last Name":"pa","Phone":"9876543210","Zip Code":"462016"}
In this case, the data is structured as a JSON object within the contactinfo parameter.

To achieve this you can refer to this screenshot -

1685086777181.png


Array Value Format:

On the other hand, certain applications like Karta and Acumbamail expect data to be passed as array values. In this format, each parameter value is denoted within square brackets, providing a clearer distinction between individual data fields. For instance:
Code:
listkey=3z626989ab54797e710d70b36a07f&domain=zoho.in&contactinfo[Contact Email][email protected]&contactinfo[First Name]=ma&contactinfo[Last Name]=pa&contactinfo[Phone]=9876543210&contactinfo[Zip Code]=462016
Each key-value pair is assigned a specific index within the array, making it easier to access and manipulate data during processing.

To achieve this you can refer to this screenshot -

1685086971683.png


The Importance of "Is JSON Params?":

To accommodate these diverse requirements, the "Is JSON Params?" option is offered in URL-encoded form data requests. It allows developers to select the desired data format—whether as JSON or an array—based on the specific application's expectations. By specifying the "Is JSON Params?" option in the request payload, developers can ensure that their data is appropriately formatted and delivered to the target application.


 

Attachments

  • 1685086860487.png
    1685086860487.png
    159.2 KB · Views: 191
Last edited by a moderator:
Status
Not open for further replies.
Top