The edit details form now sends a request to the API