I have tested an API call that works perfectly on Postman, I am sending it as a JSON on postman and it is working perfectly.
However, when I input the same data into Bubble I am getting an error in regards to sending the data to the API even though I am sending it as a data type: JSON.
When I made the call on postman without JSON, I am getting the same error I am now getting on Bubble. But once I sent with JSON, the call worked. Now, I am trying to make the same call in Bubble by sending it as data type: JSON, and getting that same initial error.
Actually, your JSON is probably not correct. For example, yht images is an array and this is not what you have providing.
I prefer to use the JSON body instead of parameters.
Normally, when you use parameters and not the body, Bubble will add the content-type application/json automatically. Just to validate, it’s better to add it.
But webhook = null… will send “webhook”: “null” that is not really a null value, but a text “null”
Bubble always encode parameters as text. So it will also be the case for the array.
So the first step will be to remove all parameters and use the body JSON part. to have dynamic field, you can use <parametername>
If you look correctly, your JSON is not the same. You forget square bracketer in modifications [ ]
Also, be sure to add the header Content-type: application/jon