added location to send flags as string via POST request