Changes path's format for send XHR request to native server