
Steerpike
Deleted
Apr 7, 2000, 11:47 AM
Post #1 of 2
(316 views)
|
|
POSTs with LWP::UserAgent
|
Can't Post
|
|
Hi all Now I realise that the example in my last post contained a trifling typo which caused my problems, however that was only an example and my problem is still ongoing. However, having corrected the example script I now feel I can ask more accurately the question I wished to ask in the first place (hence my beliefe it warrants a new post altogether). I am reasonably new to web development and am now baffled with sending data to a script using the POST method. I find that if I use the LWP::UserAgent to POST data to a script then if I send no data at all I receive a successful response from the script explaining no data had been given (or whatever a particular script is programmed to respond when no data is POSTed). However, my problem is, when I send any amount of data I actually receive either the 404 or 500 server errors, does anyone have any idea what can be going wrong? I'm not so familiar with the POST method, does data for every field on the HTML form that executes the script have to be sent, or may the values of only one or two fileds be sent? And why is a server error the outcome rather than a script error? Any help shall be most greatly appreciated
|