HTTP: Body formatter/validator (JSON/XML/querystring)
complete
Eyal Gershon
When using the http module, specifically with POST requests with large JSON/XML/querystring payloads it is virtually impossible to format the data so that the indentation is correct and readable. This forces me to copy and paste the text to a text editor for formatting.
Additionally it would be cool to have some sort of script validate the body and show an error incase something is not valid.
This would make my life easier, am pretty sure others would agree.
----------------------------------------------------
BESTPRACTICE:
Use our "JSON > Create JSON", "XML > Create XML" modules that can help you with building the JSON/XML payloads or editing of already existing payloads. See our docs: https://www.make.com/en/help/connections/connecting-to-any-web-service-that-uses-api-tokens-authorization#json-body-mapped-using-thejson---create-jsonmodule
Log In
Tereza Klobouckova
marked this post as
complete
Dear Makers,
We’ve heard your feedback - working with complex JSON payloads in custom HTTP calls has been a source of friction. At Make, we’re committed to improving the user experience while keeping your scenarios easy to maintain and scale.
🚀 That is why the new HTTP (v4) app now includes full support for Data Structures!
With this update, you can define a new Data Structure in just a few seconds - for example, by simply copying the schema from your API documentation. Once created, the module automatically provides the same clean, structured interface you’re used to from standard Make modules.
This eliminates the need for manual JSON creation, escaping reserved characters, and validating the request body structure.
✨ Even better: any Data Structure you create can be reused across all HTTP modules or any other app that supports Data Structures, helping you keep your automations consistent and easy to maintain. And when you need to make changes, editing the structure is straightforward, transparent, and far less error-prone.
Give it a try and let us know what you think. We’d love to hear your feedback on the new experience.
Resources:
📚 Get started with our technical guide: https://www.make.com/en/help/app/http
📝 Read the full release notes: https://help.make.com/new-http-app-is-now-available
Happy automating!
Tereza
The Make Team
Tereza Klobouckova
marked this post as
complete
Dear Makers,
We’ve heard your feedback - working with complex JSON payloads in custom HTTP calls has been a source of friction. At Make, we’re committed to improving the user experience while keeping your scenarios easy to maintain and scale.
🚀 That is why the new HTTP (v4) app now includes full support for Data Structures!
With this update, you can define a new Data Structure in just a few seconds - for example, by simply copying the schema from your API documentation. Once created, the module automatically provides the same clean, structured interface you’re used to from standard Make modules.
This eliminates the need for manual JSON creation, escaping reserved characters, and validating the request body structure.
✨ Even better: any Data Structure you create can be reused across all HTTP modules or any other app that supports Data Structures, helping you keep your automations consistent and easy to maintain. And when you need to make changes, editing the structure is straightforward, transparent, and far less error-prone.
Give it a try and let us know what you think. We’d love to hear your feedback on the new experience.
Resources:
📚 Get started with our technical guide: https://www.make.com/en/help/app/http
📝 Read the full release notes: https://help.make.com/new-http-app-is-now-available
Happy automating!
Tereza
The Make Team
Autopilot
Merged in a post:
Auto-Indent in Diagram
Tyler
Whenever I have to write a JSON body or a GraphQL query, I'm faced with a plain text box. As soon as the code gets even slightly complex, it becomes a giant, unreadable "wall of text."
Trying to find a missing comma or a mismatched bracket in that block feels impossible. I find myself squinting at the screen, counting brackets, and wasting so much time hunting for a tiny error. It's a real headache.
I write the code in an external editor like VS Code just to get the formatting right, then I copy it back into Make. If the request fails, I have to copy it all out again to debug it properly. It completely breaks my creative flow and pulls me out of the platform.
Solution:
Either a simple format button or an auto detect feature which just watches the input and adds indentation where necessary.
This will prevent the issue of switching between make and an IDE, and will make debugging an issue 10x easier.
Tereza Klobouckova
Merged in a post:
HTTP: Create JSON inside a module
Martijn Snels
Option to 'Create JSON' within the HTTP module with option to select data structure.
Tereza Klobouckova
Hello everybody, you can use our "JSON > Create JSON", "XML > Create XML" modules that can help you with building the JSON/XML payloads or editing of already existing payloads. See our docs: https://www.make.com/en/help/connections/connecting-to-any-web-service-that-uses-api-tokens-authorization#json-body-mapped-using-thejson---create-jsonmodule
Cor Schutte
Tereza Klobouckova: Would be cool to have the option to have a similar form inside the http module where the json can be build inside there instead of having to "waste" and operation to do so.
Please dont take away the abililty to text edit json and other formats, just add the ability to use a form as you would with the create json format.
Eyal Gershon
Cor Schutte: I completely agree
Tereza is correct by saying that you could have the create JSON/XML modules that take care of escaping problematic characters.
Like Cor said again, please dont take away the ability to edit json and other formats in the HTTP module`s body.
It wouldn't be that difficult from a technical point of view to apply some JSON validation framework like AVJ for both beautifying and validating.
Andreas Puetz
Something like the Postman function "Beautify" would be really cool.
Eyal Gershon
Andreas Pütz: I agree, it tends to get really messy with large payloads and this feature makes a lot of sense!.
Ofek
It's a must, +1
Mr. Chen Yeremitzkey
yeah it's starting to act up