asynchhttpPost - Global Variable use or better solution?

I am not totally sure I understand, but I think you want a way to pass data from the async caller to the callback (asynchttpPost to the callback method).

You could use the data parameter on asynchttpPost as shown here: Async HTTP calls

2 Likes