Using post with TContentHandler

<< Click to Display Table of Contents >>

Navigation:  Forum >

Using post with TContentHandler

Forum link

 


 

04-11-2019, 12:47 AM:

 

Hi,

 

I did a json post to a content handler I just created.

 

I put a breakpoint in the execute method.

 

I stopped in the breakpoint and I am searching in aRequest and aParams but I am unable to find the json content posted.

 

Where I can find the posted json in the execute handler method?

 

regards, Luiz

 


 

04-11-2019, 12:58 PM:

 

Hi Luiz. aRequest and aParams only shows to you when it cames via parameter, like ?param1=1&param2=2, etc. When you send a json in BODY you have to use this demo to capture the json.

 


 

04-21-2019, 08:41 PM:

 

(04-11-2019, 12:58 PM)Jose Nilton Pace Wrote: [ -> ]Hi Luiz. aRequest and aParams only shows to you when it cames via parameter, like ?param1=1&param2=2, etc. When you send a json in BODY you have to use this demo to capture the json.

 

Thank you