Fixed REST request, fixed POST redirect