Fix post,put requests