Search found 2 matches

by BA_RTC
Mon May 06, 2024 10:09 pm
Forum: General
Topic: API to receive file
Replies: 2
Views: 19876

Re: API to receive file

Thanks Scott! Option 1 would work fine for this purpose. I think I found an easy way... CGIDEV2 seems to handle it pretty much automagically, saving any uploaded file to a temp directory and creating a CGI variable with the filename.
by BA_RTC
Mon May 06, 2024 5:46 pm
Forum: General
Topic: API to receive file
Replies: 2
Views: 19876

API to receive file

I've written a few simple web services that receive JSON requests from a client, parse the JSON using Scott's YAJL port, and perform the iSeries application tasks from there. Now I have a customer that wants to upload files to an API. I would need to receive the file (via multipart/form-data?), save ...