Skip to main content
mohdk0002
August 4, 2023
Question

contents of the POST request for Web api object

  • August 4, 2023
  • 8 replies
  • 0 views

Hi,

I am trying to integrate Grafana and Appian.
I created a Web API object for POST so that it can write into the database table.

Now whenever the alert is triggered from Grafana it is creating a new row in the DB but the row is empty.

How do I find what all details or JSON is being sent to that Web API whenever Grafana triggers?

Many thanks,

Khaiser

    8 replies

    mathieud0001
    August 4, 2023

    You can try the tomcat-stdOut and see if you see anything there.

    But the easiest way to troubleshoot IMO is to have an API that uses startProcess with a Write Records node. You'll be able to see what data is being passed that way.

    stefanhelzle0001
    August 4, 2023

    Depending on the number of messages, this could lead to a performance issue. Make sure to go back to a more direct write to DB after debugging.

    Another option is, to just write the whole JSON to one field in DB.

    Or use a tool like postman to build a mock API first.

    mohdk0002
    mohdk0002Author
    August 4, 2023

    Yes, I was trying that but rows updating null value