Search found 206 matches
- Thu Jun 01, 2023 2:41 pm
- Forum: General
- Topic: Open source
- Replies: 5
- Views: 9312
Re: Open source
I would suggest that you simply search for open-source projects offering the kind of capabilities you want. Then find out what language they use and if it is supported on IBM i. Since most of the major languages are now supported it shouldn't be an issue. I found HotScripts.com to be useful when I w...
- Fri May 26, 2023 5:17 pm
- Forum: HTTPAPI
- Topic: Bad Request
- Replies: 2
- Views: 2211
Re: Bad Request
If you show us the code you are using we might be able to help. With the current info we can't even guess - beyond saying "you did something wrong".
- Sun May 21, 2023 6:40 pm
- Forum: HTTPAPI
- Topic: Consuming REST API - String "HTTP/1.1"
- Replies: 5
- Views: 3058
Re: Consuming REST API - String "HTTP/1.1"
Did you actually try that curl request? Because when I try it I get the same basic error that you are seeing in your code.
- Wed May 10, 2023 1:43 pm
- Forum: RPG IV
- Topic: IFS Path Validation
- Replies: 7
- Views: 11232
Re: IFS Path Validation
The other option would be stat() - which would avoid the close but may have a higher overhead. From googling around, there appear to be some versions of access() that will work with directories but it is unclear to me which is what! Scott probably knows - he is far more knowledgeable about all thing...
- Tue May 09, 2023 2:51 pm
- Forum: RPG IV
- Topic: IFS Path Validation
- Replies: 7
- Views: 11232
Re: IFS Path Validation
Personally, I would use opendir() for this task as it checks for both existence and premissions.
- Mon May 08, 2023 10:36 pm
- Forum: General
- Topic: RPGMAIL emailing errors out
- Replies: 6
- Views: 13406
Re: RPGMAIL emailing errors out
Scott is right in that the CLASSPATH is likely your problem. Even if you can resolve it for now it may well be a short-lived victory! There's some trouble-shooting help here in a presentation that Aaron did many moons ago. https://docplayer.net/53302853-Rpgmail-easily-send-directly-from-rpg-krengel-...
- Mon May 08, 2023 8:51 pm
- Forum: YAJL-ILE
- Topic: Error when using YAJLINTO
- Replies: 6
- Views: 12098
Re: Error when using YAJLINTO
REST option has been available for several years now Scott.Scott Klement wrote: ↑Mon May 08, 2023 7:53 pm Isn't the IWS convertTemp a SOAP API? Did they make a REST version?
- Mon May 08, 2023 5:57 pm
- Forum: YAJL-ILE
- Topic: Error when using YAJLINTO
- Replies: 6
- Views: 12098
Re: Error when using YAJLINTO
Are you actually getting a response? You have a monitor block in place to trap errors on the GET but you go ahead and use DATA-INTO regardless.
If you are receiving a response what does the json look like?
If you are receiving a response what does the json look like?
- Mon May 08, 2023 2:50 pm
- Forum: General
- Topic: RPGMAIL emailing errors out
- Replies: 6
- Views: 13406
Re: RPGMAIL emailing errors out
RPGMail is horribly out of date so I'm not surprised given the changes in Java over the years that it is not working. In fact the author of the tool said this some 6+ years ago! "I wrote RPGMail. The fix that's worked for others is to alter the ENVVAR to point at a version of Java on your syste...
- Wed Apr 19, 2023 8:19 pm
- Forum: HTTPAPI
- Topic: Rest Service Post Json containing Base64 encoded data
- Replies: 3
- Views: 3013
Re: Rest Service Post Json containing Base64 encoded data
Yup - that would have screwed it up even better!
Glad you sorted it out.
Glad you sorted it out.