SergioQ has asked for the wisdom of the Perl Monks concerning the following question:
I have a perl script that accepts a POST command from my iPhone app.
It has two params: userid and username as well as the data from a file it is sending.
Currently, for debugging (the perl script) I have to run my iPhone simulator, and go through a bunch of steps.
It would be awesome if there was a way to run my perl script from the server terminal, it would be a huge time saver. Obviously I can do it with just the username and userid, but the script fails without receiving the data from the file. And obviously that's where I need to do my debugging, the data from the file.
Is there a way to do this all from the linux terminal where my script is located?
Thank you
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can a POST command (with a file attachment) be simulated via the terminal?
by Corion (Patriarch) on Jun 05, 2024 at 06:13 UTC | |
by Danny (Chaplain) on Jun 05, 2024 at 14:01 UTC | |
|
Re: Can a POST command (with a file attachment) be simulated via the terminal?
by etj (Priest) on Jun 05, 2024 at 13:37 UTC | |
|
Re: Can a POST command (with a file attachment) be simulated via the terminal?
by The_Dj (Scribe) on Jun 09, 2024 at 14:11 UTC |