Remove localhost from xhr POST route

Remove localhost from xhr POST route