Search found 7 matches

by Annemiek
Tue Feb 06, 2024 10:04 am
Forum: HTTPAPI
Topic: cookie_dump
Replies: 1
Views: 1259

cookie_dump

Hi folks, Recently, we brought a high-volume HTTPAPI application to production. We're now in the process of monitoring for errors and performance issues. We're using cookies and a cookie file to store a session cookie. I noticed, that every API call we do results in an update of the cookie file. Thi...
by Annemiek
Wed Nov 15, 2023 9:24 am
Forum: HTTPAPI
Topic: http_stmf and large files
Replies: 6
Views: 11369

Re: http_stmf and large files

Thanks so much, Scott, we are going to update HTTPAPI.
by Annemiek
Mon Nov 13, 2023 12:40 pm
Forum: HTTPAPI
Topic: http_stmf and large files
Replies: 6
Views: 11369

Re: http_stmf and large files

All I can see in my joblog is CPF9897, no additional information. I disabled the Monitor in my code to see if that would yield more information, but no. Edit: I am debugging HHTPAPIR4. The statement that failed is "rc = http_req(Type: URL: RespStmf);". rc= -1 and the result of http_error()...
by Annemiek
Mon Nov 13, 2023 8:55 am
Forum: HTTPAPI
Topic: http_stmf and large files
Replies: 6
Views: 11369

Re: http_stmf and large files

Thanks for taking the time to look into my problem! My code is pretty simple: Monitor; http_stmf('GET': srvURL: IFSfile); On-error; http_error(*omit: respCode); // Checking respCode here EndMon; On failed attempts the On-error branch is triggered and respCode is 0 (time-out). On successful attempts,...
by Annemiek
Thu Nov 09, 2023 3:11 pm
Forum: HTTPAPI
Topic: http_stmf and large files
Replies: 6
Views: 11369

http_stmf and large files

I'm using http_stmf to GET a large file and write it to the IFS. The thing is, sometimes this works fine and sometimes http_stmf runs into a timeout somewhere. I've tried multiple times with the same file. Here's part of the log of a failed try: do_oper(GET): entered There are 1 cookies in the cache...
by Annemiek
Tue Aug 29, 2023 11:44 am
Forum: HTTPAPI
Topic: Timing problem
Replies: 4
Views: 8557

Re: Timing problem

stefan@tageson.se wrote: Tue Aug 29, 2023 11:01 am What about a simple delay - say 5 seconds - between the calls?
I guess I could do, in combination with checking the result of the http_mfd_encoder_addstmf API, but I was hoping for a more "modern" option ;)
by Annemiek
Tue Aug 29, 2023 10:11 am
Forum: HTTPAPI
Topic: Timing problem
Replies: 4
Views: 8557

Timing problem

Hi Everybody, Thanks for having me here! At the moment I'm working on a project to handle files at a remote location using API's. Of course I'm using HTTPAPI (version 1.38). One of the functions I need to build is a COPY-function, to duplicate a file at the remote location. Unfortunately they only o...