So, I’m trying to code a POST action to the SendGrid platform.
The main problem I’m having is that the API have arrays inside it’s data input. So, how do I create arrays for the variables each array have? I can’t find a way for it. I tried using the API form or using the Server Connect method (basically the same), but I can’t find a way to create those arrays.
Unless something has changed in the last couple months, the way to get this done is by opening the file in the editor and manually entering what you need. Build as much as you can in the editor and then enter the arrays and other complex objects in the editor. It can be tricky to get the right syntax for the values, but I don’t think there is anything impossible, just challenging.
When that happens it means you have made invalid changes, which is easy to do. You have to be extremely careful with the syntax and if the editor does not recognize the file, undo the changes and try again.
@George@Teodor I see a lot of posts lately about this topic (limitations in the visual editor when it comes to nested JSON apis). Are you guys planning to extend the functionality of wappler so that we don’t have to fiddle in the code?
@salvuccicarlos , how did you achieve this. I’m exactly in the same position as you. I guess we have to open the php file and add this array inside. Kindly advise. Thanks.
Wappler made it easy with Wappler 2.4.3 version through the JSON editor to add dynamic data, for eg in Server API Connector… amazing, thanks @George@Teodor@patrick! This makes the above asks easier and straight-forward in the latest version.