Fixed an error on post java urls