setRepo POST request