It is currently only possible to return data as either structured JSON or as a Plain text (Content-Type: Text). This is a debilitating limitation that makes it impossible to interact with API’s that require other content-types for responses, such as XML.
Bubble is already giving us the ability to send an unstructured response body (when you select plain-text), so its a tiny thing to add a Content-Type field above the plain text box (that defaults to “text”) that can be changed to a different content-type. This would solve so many problems and greatly increase the flexibility of the return data from API action.
This has been requested numerous times on the forum already and has been ignored up to this point:
BUBBLE, PLEASE ADD THIS!!