[Lift] Re: How could i send a HTTP get or post request in the Snippet or Views in the Lift?

2009-12-22 Thread Neil.Lv
Ok, Thanks guys! I'll be try it . Cheers. Neil On Dec 22, 4:36 pm, Timothy Perrett wrote: > You might want to checkout the scala http library, dispatch: > > http://databinder.net/dispatch/ > > Cheers, Tim > > On Dec 22, 7:46 am, Marius wrote: > > > Well from your Snippet method you can j

[Lift] Re: How could i send a HTTP get or post request in the Snippet or Views in the Lift?

2009-12-22 Thread Timothy Perrett
You might want to checkout the scala http library, dispatch: http://databinder.net/dispatch/ Cheers, Tim On Dec 22, 7:46 am, Marius wrote: > Well from your Snippet method you can just use HttpURLConnection, or > Apache Commons Client to make remote requests to other services. Of > course typica

[Lift] Re: How could i send a HTTP get or post request in the Snippet or Views in the Lift?

2009-12-21 Thread Marius
Well from your Snippet method you can just use HttpURLConnection, or Apache Commons Client to make remote requests to other services. Of course typically you won't do this directly from the snippet method but from a Service layer of your application. One you get the response (say it's an XML) you p