[Lazarus] [Brook] HTTP method not allowed for the requested resource

2014-02-25 Thread Giuseppe
Hi all, I'm trying demos on Brook 3 (from github), and simple demos works fine, but with DB demos I get the error: Error 405 HTTP method not allowed for the requested resource. Some idea? Regards. -- ___ Lazarus mailing list Lazarus@lists.lazarus.fr

Re: [Lazarus] [Brook] HTTP method not allowed for the requested resource

2014-02-25 Thread silvioprog
2014-02-25 18:22 GMT-03:00 Giuseppe : > Hi all, > > I'm trying demos on Brook 3 (from github), and simple demos works fine, > but with DB demos I get the error: > Error 405 > HTTP method not allowed for the requested resource. > > Some idea? > > Regards. > Oh, is you Giu of Lazarus forum? Sorry,

Re: [Lazarus] [Brook] HTTP method not allowed for the requested resource

2014-02-26 Thread Giuseppe
El 26/02/2014 4:57, silvioprog escribió: 2014-02-25 18:22 GMT-03:00 Giuseppe >: Hi all, I'm trying demos on Brook 3 (from github), and simple demos works fine, but with DB demos I get the error: Error 405 HTTP method not allowed for the requested re

Re: [Lazarus] [Brook] HTTP method not allowed for the requested resource

2014-02-26 Thread Michael Van Canneyt
On Wed, 26 Feb 2014, Giuseppe wrote: El 26/02/2014 4:57, silvioprog escribió: 2014-02-25 18:22 GMT-03:00 Giuseppe : Hi all, I'm trying demos on Brook 3 (from github), and simple demos works fine, but with DB demos I get the error: Error 4

Re: [Lazarus] [Brook] HTTP method not allowed for the requested resource

2014-02-26 Thread Giuseppe
El 26/02/2014 10:44, Michael Van Canneyt escribió: On Wed, 26 Feb 2014, Giuseppe wrote: El 26/02/2014 4:57, silvioprog escribió: 2014-02-25 18:22 GMT-03:00 Giuseppe : Hi all, I'm trying demos on Brook 3 (from github), and simple demos works fine, but

Re: [Lazarus] [Brook] HTTP method not allowed for the requested resource

2014-02-26 Thread silvioprog
2014-02-26 6:31 GMT-03:00 Giuseppe : > El 26/02/2014 4:57, silvioprog escribió: > > 2014-02-25 18:22 GMT-03:00 Giuseppe : > >> Hi all, >> >> I'm trying demos on Brook 3 (from github), and simple demos works fine, >> but with DB demos I get the error: >> Error 405 >> HTTP method not allowed for

Re: [Lazarus] [Brook] HTTP method not allowed for the requested resource

2014-02-26 Thread Giuseppe
Thanks Silvio, I Will try but, why you don't get error using FPC 2.6.2? Don't understand :/ Enviado desde mi iPad /Giuseppe > El 26/02/2014, a las 15:04, silvioprog escribió: > > 2014-02-26 6:31 GMT-03:00 Giuseppe : >> El 26/02/2014 4:57, silvioprog escribió: >>> 2014-02-25 18:22 GMT-03:00 G

Re: [Lazarus] [Brook] HTTP method not allowed for the requested resource

2014-02-26 Thread silvioprog
2014-02-26 11:16 GMT-03:00 Giuseppe : > Thanks Silvio, > > I Will try but, why you don't get error using FPC 2.6.2? Don't understand > :/ > > Enviado desde mi iPad > > /Giuseppe > Simple, because I need to use HTTPS in my personal projects, then I'm using [Fast]CGI instead of embedded server in F

Re: [Lazarus] [Brook] HTTP method not allowed for the requested resource

2014-02-26 Thread Giuseppe
Exactly how Canneyt said: It is a known bug in FPC 2.6.2. RESTful uses all HTTP methods (GET/POST/PUT/DELETE), and old FCL-web does not supports it, but it is fixed in new FCL-web. Try it now in a new environment, I'll show my environment to you: 0. use a stable release of Lazarus/FPC: Laza

Re: [Lazarus] [Brook] HTTP method not allowed for the requested resource

2014-02-26 Thread silvioprog
2014-02-26 13:27 GMT-03:00 Giuseppe : [...] > Yes this works. > > Then, to build dinamic sites like Anderson do in his videos, I have to > wait to 2.6.4 to get Brook working again as before. True? Meanwhile, I can > use it "just" as REST server. > With Anderson's videos you will have a basic know

Re: [Lazarus] [Brook] HTTP method not allowed for the requested resource

2014-02-26 Thread Giuseppe
> El 26/02/2014, a las 20:47, silvioprog escribió: > > 2014-02-26 13:27 GMT-03:00 Giuseppe : > [...] >> Yes this works. >> >> Then, to build dinamic sites like Anderson do in his videos, I have to wait >> to 2.6.4 to get Brook working again as before. True? Meanwhile, I can use it >> "just"

Re: [Lazarus] [Brook] HTTP method not allowed for the requested resource

2014-02-26 Thread silvioprog
2014-02-26 17:52 GMT-03:00 Giuseppe : > > El 26/02/2014, a las 20:47, silvioprog escribió: > > 2014-02-26 13:27 GMT-03:00 Giuseppe : > [...] > >> Yes this works. >> >> Then, to build dinamic sites like Anderson do in his videos, I have to >> wait to 2.6.4 to get Brook working again as before. True

Re: [Lazarus] [Brook] HTTP method not allowed for the requested resource

2014-02-26 Thread Giuseppe
> El 26/02/2014, a las 22:26, silvioprog escribió: > > 2014-02-26 17:52 GMT-03:00 Giuseppe : >> >>> El 26/02/2014, a las 20:47, silvioprog escribió: >>> >>> 2014-02-26 13:27 GMT-03:00 Giuseppe : >>> [...] Yes this works. Then, to build dinamic sites like Anderson do in his vid

Re: [Lazarus] [Brook] HTTP method not allowed for the requested resource

2014-02-26 Thread silvioprog
2014-02-26 18:36 GMT-03:00 Giuseppe : > > El 26/02/2014, a las 22:26, silvioprog escribió: > > 2014-02-26 17:52 GMT-03:00 Giuseppe : >> >> El 26/02/2014, a las 20:47, silvioprog escribió: >> >> 2014-02-26 13:27 GMT-03:00 Giuseppe : >> [...] >> >>> Yes this works. >>> >>> Then, to build dinamic si

Re: [Lazarus] [Brook] HTTP method not allowed for the requested resource

2014-02-26 Thread Giuseppe
> I don't know if our environment is similar to reproduce it. My environment is: > > Windows 8, 64 bit. > Lazarus 1.0.14 r43446 FPC 2.6.2 i386-win32-win32/win64. > Brook via trunk. > PostgreSQL 8.4, 32 bit. > Apache/2.2.22 (Win32), Server built: Jan 28 2012 11:16:39. > > Are you executing the

Re: [Lazarus] [Brook] HTTP method not allowed for the requested resource

2014-02-28 Thread silvioprog
2014-02-27 4:53 GMT-03:00 Giuseppe : [...] > / > Open \brookframework\demos\simple\entity project > Build. > Copy to cg1.bf to cgi-bin folder > http://localhost:8080/cgi-bin/cgi1.bf returns "HTTP method not allowed > for the requested resource." > Didn't worked (with BrookFCLCGIBroker, either

Re: [Lazarus] [Brook] HTTP method not allowed for the requested resource

2014-02-28 Thread Giuseppe
I understand, I will try to take a look Enviado desde mi iPad /Giuseppe > El 28/02/2014, a las 15:43, silvioprog escribió: > > 2014-02-27 4:53 GMT-03:00 Giuseppe : > [...] >> / >> Open \brookframework\demos\simple\entity project >> Build. >> Copy to cg1.bf to cgi-bin folder >> http://local