Legacy Dev Forum Posts

 View Only

Sign Up

How can i create a data action if the output is in HTML format?

  • 1.  How can i create a data action if the output is in HTML format?

    Posted 06-05-2025 18:43

    Anush_Servion | 2022-10-10 11:45:35 UTC | #1

    Hi all, I am trying to create a data action for an API. But i am unable to create it since there is an error which says content type is not supported. Please guide me how i can work on it since API owner cannot change the output to JSON


    Jason_Mathison | 2022-10-10 13:16:24 UTC | #2

    Hi Anush_Servion,

    Data actions only work with endpoints that return JSON, which means that you will need to have something in the middle to translate their output to JSON. A relatively simple solution to this is to create an AWS lambda to do the translation as Data Actions have native Lambda support. You could also create a web service to sit in the middle and do the translation.

    --Jason


    Anush_Servion | 2022-10-10 13:19:58 UTC | #3

    Thank you for your response Jason.


    system | 2022-11-10 13:19:59 UTC | #4

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 16651