post file to rest server ok