Move UploadService parameter validation logic into UploadService
Move CaptureService parameter validation logic into CaptureService
CaptureService receive html directly
tweak debug line