XP is just a number | |
PerlMonks |
Attempting to POST a file to local serverby cookersjs (Acolyte) |
on May 10, 2017 at 18:39 UTC ( [id://1190003]=perlquestion: print w/replies, xml ) | Need Help?? |
cookersjs has asked for the wisdom of the Perl Monks concerning the following question: Hello Monks, Hope you are well! To get more specific about the codes purpose: I am running a docker container on a server that is communicated with via port 8012. The goal is to send a file here, process it and then return the body of the processed file. When I use Postman to submit the file via POST request, it works as expected: The server gets the file, processes it, and returns the body of the desired output file. When I run the above code, I get "TypeError: Cannot read property 'end' of undefined" on the server end, and the output from the program is '500 Server closed connection without sending any data back'. This is my first time doing any of this sort of thing, so any tips, solutions, and critiques are obviously welcome! cookersjs
Back to
Seekers of Perl Wisdom
|
|