Search found 2 matches
- Wed Apr 19, 2023 8:02 pm
- Forum: HTTPAPI
- Topic: Rest Service Post Json containing Base64 encoded data
- Replies: 3
- Views: 8216
Re: Rest Service Post Json containing Base64 encoded data
I figured it out. I opened the file with the O_Textdata flag so I encoded the ebcdic data. I removed it and it's fine now.
- Wed Apr 19, 2023 7:24 pm
- Forum: HTTPAPI
- Topic: Rest Service Post Json containing Base64 encoded data
- Replies: 3
- Views: 8216
Rest Service Post Json containing Base64 encoded data
I'm using HTTPAPI to post to a rest service that requires one element to be base64 encoded and I'm running into a tranlation problem. My json needs to be { "file":"base64encodedfilecontents", "replace":"true", "domain":"Default" } in my rpg...