POST to WebJames?
Dave Higton (1515) 3526 posts |
Should WebJames allow me to POST a file to it? Are there any restrictions? Can I post to the site’s root directory? Do I need to do something to the configuration? I’m trying to use WebJames as a test server for my experimental modifications to AcornHTTP. So far, attempts to post a one-line text file return a “404 File not found” error – unless the file already exists, in which case it’s 200 OK but the file is unchanged. The responses are almost as if it were doing a GET instead of a POST. |
Dave Higton (1515) 3526 posts |
I’m further on. I see that POST doesn’t just create a file, but I can get it to execute a script (provided that the file’s leafname is not just Put, which is strange…) and it looks like it calls the script with a string of arguments, among which is a size and an RMA address, which is presumably where it’s put what it’s received. Time for some more experiments tomorrow. |
Herbert zur Nedden (92) 37 posts |
May I dare suggest you might want to try with HTTPServ since it is a bit more current and recently did get an update. See http://thomas-milius-stade.dnshome.de/English/Computer/index.htm I can confirm that forms with GET and POST work since I used them with PHP and sqlite3 (and got that to work) |