dcy

Results 29 comments of dcy

Erlang/OTP 17 [erts-6.2] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] Eshell V6.2 (abort with ^G) Only error in ChicagoBoss.

I cd deps/aleppo and "git pull https://github.com/ChicagoBoss/aleppo" Then i get another error: dcy@dcy-dcy:~/yxq$ ./make.sh WARN: Ignoring sub_dirs for /home/dcy/yxq/deps/ddb ==> yxq (pre_compile) 23:09:03.247 [error] Compile Error, "src/lib/util.erl" -> [{"/home/dcy/yxq/src/lib/util.erl",[{57,erl_parse,["syntax error...

The code "calendar:local_time()," works. But "1 - calendar:local_time()," Syntax error.

"1 + calendar:local_time()" works, "*" and "/" all works, only "-" not works.

Not calendar. If behind the "-" is calendar , lists..., It will be syntax error.

@benoitc because the other server api require i send urlencoded list. I use ``` DeviceTokenList = ["08670650250202362000003019000001", "234234324234234"], lists:flatten(io_lib:format("~p", [DeviceTokenList])) ``` to format DeviceTokenList, `hackeney_url:qs` works.

You mean Req:deep_post_param("attachments[0]")? There is not deep_post_params/1. I tried Req:deep_post_param("attachments[0]"), it will throw the same error. I post the json object like this: ![2015-06-16-151135_845x191_scrot](https://cloud.githubusercontent.com/assets/1137238/8177893/ef156302-143b-11e5-8151-c52035697e5a.png)

How can i get attachments form json?

I don't know how, is there a example for ChicagoBoss? And i found another error in https://github.com/ChicagoBoss/ChicagoBoss/issues/577 This is get value form javascript post's data, that is return value to...

My print's "Req : request_body ( )" is Can jsx or jiffy decode such binary?