• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

  • 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

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: 87
Last edited by a moderator:
Top