Search found 12 matches

by stefan@tageson.se
Thu Feb 29, 2024 7:25 am
Forum: HTTPAPI
Topic: HTTP Service Works one time and gets Internal Server Error
Replies: 2
Views: 401

Re: HTTP Service Works one time and gets Internal Server Error

Has this anything to do with HTTPAPI?
It seems like your server program is running a rclrsc or rclactgrp based on your log entry "0 activation groups deleted."
That's probably not a good idea, remove it and try again.
by stefan@tageson.se
Thu Feb 22, 2024 8:26 pm
Forum: HTTPAPI
Topic: HTTPAPI
Replies: 19
Views: 1433

Re: HTTPAPI (example 7)

Absolutely not, httpapi is client software not server-based software
by stefan@tageson.se
Thu Dec 28, 2023 6:13 pm
Forum: HTTPAPI
Topic: Geting Http 400 Error on log in to Google API
Replies: 4
Views: 2458

Re: Geting Http 400 Error on log in to Google API

Community replying :)
Looking briefly at the api documentation - it says you can test this in your browser....
That seems to imply that you eventually should use a GET instead of a POST requsest.

All the best,
Stefan
by stefan@tageson.se
Mon Sep 04, 2023 9:36 am
Forum: HTTPAPI
Topic: Problem after changing ibm i release to V7R4M0
Replies: 9
Views: 11613

Re: Problem after changing ibm i release to V7R4M0

You can add older ciphers if you want, just remember there's a reason they are not enabled by default. You have to enable them in STRSST ( search for ELIGIBLEDEFAULTCIPHERSUITES ) and also change the QSSL* system values to reflect your change.
by stefan@tageson.se
Tue Aug 29, 2023 11:01 am
Forum: HTTPAPI
Topic: Timing problem
Replies: 4
Views: 8495

Re: Timing problem

What about a simple delay - say 5 seconds - between the calls?
by stefan@tageson.se
Sat Jul 29, 2023 9:15 am
Forum: HTTPAPI
Topic: debugging host refused connection
Replies: 4
Views: 2460

Re: debugging host refused connection

If you was able to use that exact url sucessfully using postman, it means that the service you want to reach is located on the host you used postman from. So localhost is not applicable when using httpapi. You need to provide a hostname or an ip-address instead of localhost.
by stefan@tageson.se
Thu Jul 13, 2023 2:35 pm
Forum: HTTPAPI
Topic: How to set Timeout seconds in http_url_post_stmf
Replies: 4
Views: 2456

Re: How to set Timeout seconds in http_url_post_stmf

Have a look in qrpglesrc member httpapi_h and read up on the functions you are using: *+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ * http_url_post_stmf(): Post data to CGI script from stream file * * peURL = url to post to (http://www.blah.com/cgi-bin/etc) * pePostFile = Fi...
by stefan@tageson.se
Thu Jul 13, 2023 11:36 am
Forum: HTTPAPI
Topic: How to set Timeout seconds in http_url_post_stmf
Replies: 4
Views: 2456

Re: How to set Timeout seconds in http_url_post_stmf

What's stopping you from using 120 as the fourth parameter in the call to http_url_post_stmf?
by stefan@tageson.se
Fri Jul 07, 2023 7:44 am
Forum: HTTPAPI
Topic: HTTP_STRIN error
Replies: 1
Views: 1766

Re: HTTP_STRIN error

Eventullay you are looking for the readme member in the qrpglesrc source file.
by stefan@tageson.se
Wed Jun 21, 2023 5:09 am
Forum: HTTPAPI
Topic: http_req with POST and large string
Replies: 10
Views: 4083

Re: http_req with POST and large string

Any hints from the log file?