Adding log infos
Fixing json post

a string "test" replaced by correct value
Fixing name of method