Re: How to POST html data to be handled by a route endpoint

2020-03-08 Thread DL Neil via Python-list
On 8/03/20 8:47 AM, Richard Damon wrote: On 3/7/20 5:15 AM, Νίκος Βέργος wrote: When superhost.gr/test tries to post html form data to the route endpoint '/mailform' it sends it to superhost.gr/mailform and NOT at superhost.gr/test/mailform as it should have done. The HTML path /mailform

Re: How to POST html data to be handled by a route endpoint

2020-03-07 Thread Richard Damon
On 3/7/20 5:15 AM, Νίκος Βέργος wrote: > When superhost.gr/test tries to post html form data to the route endpoint > '/mailform' it sends it to superhost.gr/mailform and NOT at > superhost.gr/test/mailform as it should have done. > The HTML path /mailform means server relative path, so the path

Re: How to POST html data to be handled by a route endpoint

2020-03-07 Thread Νίκος Βέργος
You will see if you create a route endpoint called 'mailform' within '/' which is an alias of 'www.py' and you also have '/mailform' in 'superhost.gr/test' when the latter tries to post data to '/mailform' instead of sending them to 'superhost.gr/test/' it sends them to '/' which is

Re: How to POST html data to be handled by a route endpoint

2020-03-07 Thread Νίκος Βέργος
Τη Σάββατο, 7 Μαρτίου 2020 - 9:00:41 μ.μ. UTC+2, ο χρήστης DL Neil έγραψε: > On 7/03/20 2:33 AM, îØî-îºî¿ïé îÆî ïüî³î¿ïé wrote: > > First i must say i use Bottle, but the same may also be the case in Flask > too. I ask here and not in sub Bottle because there are only a few people > there and i

Re: How to POST html data to be handled by a route endpoint

2020-03-07 Thread Νίκος Βέργος
î¤î· î£î¬î²î²î±ïäî¿, 7 î£î±ïüïäî-î¿ïà 2020 - 12:34:21 ï .î¼. UTC+2, î¿ ïçïüîRïâïäî·ïé DL Neil î î³ïüî±ïêîµ: > Please post the full error message and traceback. > > To clarify: is the error coming from Python or from the web server? I beleive it comes from the web server. Here it is: Error: 500

Re: How to POST html data to be handled by a route endpoint

2020-03-07 Thread DL Neil via Python-list
On 7/03/20 2:33 AM, îØî-îºî¿ïé îÆî ïüî³î¿ïé wrote: > First i must say i use Bottle, but the same may also be the case in Flask too. I ask here and not in sub Bottle because there are only a few people there and i receive no responses. > > Actualy since i started here let me say what i have found.

Re: How to POST html data to be handled by a route endpoint

2020-03-07 Thread Νίκος Βέργος
You will see if you create a route endpoint called 'mailform' within '/' which is an alias of 'www.py' and you also have '/mailform' in 'superhost.gr/test' when the latter tries to post data to '/mailform' instead of sending them to 'superhost.gr/test/' it sends them to '/' which is

Re: How to POST html data to be handled by a route endpoint

2020-03-07 Thread Νίκος Βέργος
Τη Σάββατο, 7 Μαρτίου 2020 - 12:34:21 π.μ. UTC+2, ο χρήστης DL Neil έγραψε: > Please post the full error message and traceback. > > To clarify: is the error coming from Python or from the web server? I beleive it comes from the web server. Here it is: Error: 500 Internal Server Error Sorry,

Re: How to POST html data to be handled by a route endpoint

2020-03-06 Thread DL Neil via Python-list
On 7/03/20 2:33 AM, Νίκος Βέργος wrote: First i must say i use Bottle, but the same may also be the case in Flask too. I ask here and not in sub Bottle because there are only a few people there and i receive no responses. Actualy since i started here let me say what i have found. Iam just