Search found 14 matches

by sandrocarosso
Fri Nov 28, 2025 3:46 pm
Forum: HTTPAPI
Topic: Web Service Issue – HTTP 400 Bad Request
Replies: 2
Views: 11999

Re: Web Service Issue – HTTP 400 Bad Request

Hello Scott, thank you for your reply. We investigated to find out what the incorrect data was and have now corrected it: it is now working correctly.

Thank you for your support.
by sandrocarosso
Mon Nov 24, 2025 4:36 pm
Forum: HTTPAPI
Topic: Web Service Issue – HTTP 400 Bad Request
Replies: 2
Views: 11999

Web Service Issue – HTTP 400 Bad Request

Hi everyone,
I’m consuming a web service that sometimes returns HTTP 400 – Bad Request.
In these cases, instead of receiving a JSON response, I get characters that seem “unreadable” (at least to me).
Could this be due to the way I’m calling the API?
Or do I need to specify some particular parameter ...
by sandrocarosso
Mon Jun 30, 2025 7:58 am
Forum: RPG IV
Topic: Opening a 5250 web page with a link longer than 123 characters
Replies: 5
Views: 61923

Re: Opening a 5250 web page with a link longer than 123 characters

@jonboy49 I absolutely agree with you.
Probably, the decision will be to upgrade the various clients (which is also the most logical one).
In the meantime, it is necessary to find a “temporary” solution.
Thanks for the suggestion

Have a great day
by sandrocarosso
Sun Jun 29, 2025 4:51 pm
Forum: RPG IV
Topic: Opening a 5250 web page with a link longer than 123 characters
Replies: 5
Views: 61923

Re: Opening a 5250 web page with a link longer than 123 characters

Thank you all for your replies.
The operating system is 7.5, most pc's (maybe all) are still using iseries access 7.1.
With this software, the ‘strpccmd’ command is limited (I think to about 123 characters), whereas using the new ACS this limit is exceeded. Unfortunately, it is not possible to ...
by sandrocarosso
Fri Jun 27, 2025 2:40 pm
Forum: RPG IV
Topic: Opening a 5250 web page with a link longer than 123 characters
Replies: 5
Views: 61923

Opening a 5250 web page with a link longer than 123 characters

Good evening everyone, I need to open a 5250 web page which has a link with more than 123 characters, which is the limit imposed by the “STRPCCMD” command.
Do you know of any method to get around this limit?
Thanks in advance.
by sandrocarosso
Fri Jun 27, 2025 9:32 am
Forum: HTTPAPI
Topic: Web service & content-type application/x-www-form-urlencoded
Replies: 2
Views: 63290

Re: Web service & content-type application/x-www-form-urlencoded

Hi Scott, I tried again this morning and the webservice worked correctly, so I'm thinking that the error is not related to the programme.
Sorry to bother you and thanks for the support.
by sandrocarosso
Wed Jun 25, 2025 2:20 pm
Forum: HTTPAPI
Topic: Web service & content-type application/x-www-form-urlencoded
Replies: 2
Views: 63290

Web service & content-type application/x-www-form-urlencoded

Hello everyone, I am trying to consume a web service to obtain a token via user and password.
The content-type must be application/x-www-form-urlencoded.
The credentials must be passed in the format:
grant_type=client_credentials&client_id=Your_client_ID&client_secret=Your_secret.
If I try to ...
by sandrocarosso
Wed Jun 28, 2023 12:42 pm
Forum: General
Topic: Table Functions (UDTFs) & RPGLE
Replies: 2
Views: 17775

Re: Table Functions (UDTFs) & RPGLE

Hi Scott, thanks for the reply. Obviously, I know how to make selections on a database. I will carry out more tests in this direction.
by sandrocarosso
Thu Jun 22, 2023 3:34 pm
Forum: General
Topic: Table Functions (UDTFs) & RPGLE
Replies: 2
Views: 17775

Table Functions (UDTFs) & RPGLE

Good evening everyone,

I would like to take advantage of the possibility of using Table Functions (UDTFs) to reuse the logic expressed within my RPG ILE program. Within this program, I have to make a selection based on the parameters received (specifically, an article code could be indicated in ...
by sandrocarosso
Wed May 24, 2023 2:47 pm
Forum: HTTPAPI
Topic: Consuming REST API - String "HTTP/1.1"
Replies: 5
Views: 21293

Re: Consuming REST API - String "HTTP/1.1"

Thanks everyone for the suggestions!! I also entered "Accept: application/json" and now the webservice returns me the data I need, in addition to the corrections you suggested.

Thank you all