cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

This product reached the end of support date on March 31, 2021.

Is there anyway to pull a JSON object that is in the body of a POST?

tdavison2
Organizer

Hello, we are trying to pull a QueueID which is located in the body of a POST as a JSON object. However, I have no idea if this is possible. If so, could someone please give me some advice on how to achieve this. If more details are needed, please just let me know.

Thanks for any help,

Tom


2 REPLIES 2

david_n
Inactive

Hello Tom,

I don't think you can grab an object from the request body. Here is another post where they go into more details about why Dynatrace prefers to avoid doing so.

https://answers.dynatrace.com/spaces/482/dynatrace-open-qa/questions/209653/how-to-get-request-parameters-on-json-request.html

Thanks,

David Nicholls


sebastian_kryst
DynaMight Leader
DynaMight Leader

In appmon you cannot catch post parameters. I suggest to find place in server side code where this object is parsed into class and take parameter using accessor:

https://www.dynatrace.com/support/doc/appmon/shortlink/id-method-sensor-rules#general

Sebastian