Got it working. Commenting out some stuff and outputting response to console.