stevetgates wrote:
Hi maverick786us,If I declare it inside Lambada of POST, then its access will remain inside POST code blocks, I need to access its value in GET code block too, thats why I declared it a locally within the function, so that its available throughout the function.
You need to capture the strPost variable in order to be able to access it inside your lambda function. The compiler error message is accurate. From what you are mentioning it sounds like you want to capture it by reference. In general I'd be careful about modifying global variables in your request handlers.
Steve