http_xproc() & repeated requests

Discussions related to HTTPAPI (An HTTP Client Package for RPG programming.) http://www.scottklement.com/httpapi/
Post Reply
jtaylor
Posts: 15
Joined: Tue Dec 21, 2021 10:51 pm

http_xproc() & repeated requests

Post by jtaylor »

If I'm making a number of http_url_post() in succession, do I have to call http_xproc() for each one? If the info is retained, how do I clear it when I need to move on to different http_url_post() calls?


TIA
Scott Klement
Site Admin
Posts: 719
Joined: Sun Jul 04, 2021 5:12 am

Re: http_xproc() & repeated requests

Post by Scott Klement »

It is retained for the life of the activation group (unless you clear it.)

You can clear it by setting the exit point to null. Using the debug exit point as an example:

Code: Select all

http_xproc( HTTP_POINT_DEBUG: *null: *null);
Obviously that first parameter should be changed to the specific exit point that you want to clear.
jtaylor
Posts: 15
Joined: Tue Dec 21, 2021 10:51 pm

Re: http_xproc() & repeated requests

Post by jtaylor »

Perfect, thank you!
Post Reply