[erlang-questions] misultin rest example not working

Roberto Ostinelli <>
Sun Oct 3 20:02:12 CEST 2010


hi slav,

it works perfectly fine on various configs here, misultin version 0.6.1.

please state erlang and misultin version, it might help.

r.


2010/10/3 Slav Pankratov <>:
> Hello!
>
> I am trying REST example here:
> http://code.google.com/p/misultin/wiki/ExamplesPage
>
> And when I try http://localhost:8080/users/roberto/messages
>
> I get an error:
>
> =ERROR REPORT==== 3-Oct-2010::20:35:20 ===
> Error in process <0.36.0> with exit value:
> {function_clause,[{misultin_http,enc_headers,["This is ~s's messages
> page."]},{misultin_http,enc_headers,1},{misultin_http,call_mfa,2},{misultin_http,handle_get,2},{misultin_http,body,2}]}
>
> It's ok when I try
>
>   - http://localhost:8080/ : You should read "Main home page.";
>   - http://localhost:8080/users : You should read "Main users root.";
>
> but accessing users' folders and users' messages fail.
>
> What am I doing wrong?
>
> thanks!
>
> -Slav
>



-- 
-------------------------------------------------------------------
Roberto Ostinelli
CTO, WideTag Inc. - Realtime, Social, Green
widetag.com
skype: rostinelli
twitter: ostinelli
mobile: +39 335 6 100 22 6


More information about the erlang-questions mailing list