Search found 7 matches

by sandrocarosso
Wed Jun 28, 2023 12:42 pm
Forum: General
Topic: Table Functions (UDTFs) & RPGLE
Replies: 2
Views: 7578

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: 7578

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 full...
by sandrocarosso
Wed May 24, 2023 2:47 pm
Forum: HTTPAPI
Topic: Consuming REST API - String "HTTP/1.1"
Replies: 5
Views: 3028

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
by sandrocarosso
Sat May 20, 2023 7:08 pm
Forum: HTTPAPI
Topic: Consuming REST API - String "HTTP/1.1"
Replies: 5
Views: 3028

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

Good evening Scott, thanks for your reply. This is the command the API provider sent to me (he specified that I can also use "Application/json") curl -X GET -H "X-Api-Key: 2KTV8VRAiUk-tvh7TyS_tf6t5qHSo3qAlWySDrHBC3o" -H "Accept: text/csv" "https://export-api-stagin...
by sandrocarosso
Thu May 04, 2023 1:05 pm
Forum: HTTPAPI
Topic: Consuming REST API - String "HTTP/1.1"
Replies: 5
Views: 3028

Consuming REST API - String "HTTP/1.1"

Hello, I have to consume a REST web services that responds to this link: https://export-api-staging.lorch.cloud/api/export/weldseams? from_start_time_utc=1640993522&to_start_time_utc=1658323083". I should consume it in GET so that it returns a JSON containing the requested information. From...
by sandrocarosso
Mon Apr 24, 2023 2:18 pm
Forum: RPG IV
Topic: Decode bas64 ifs file
Replies: 1
Views: 6367

Decode bas64 ifs file

Good evening everyone, through a web service I receive a pdf file encoded in base 64. I upload it to the IFS and I would like to use the "decode 64 stmf" procedure, posted by Scott in some previous posts. The ifs file as I created it was tested on "https://www.base64decode.org/" ...
by sandrocarosso
Mon Dec 05, 2022 2:15 pm
Forum: RPG IV
Topic: Example base 64 encode
Replies: 1
Views: 6510

Example base 64 encode

Hello, through a Rest API I will have to send a base 64 PDF document. Is there an example of an ILE RPG program available? Thank you