Web API not working

Hi,
For my app I am trying to make the user take a picture, and from send that picture as a file into the Spoonacular API for Post image analysis (file). And I am trying to print out the recipe ID. for debugging purposes I tried to print the response but Error 415 is coming up. Please help??