I’ve been trying to integrate an api into a project that I have been working on with some friends but I’m having difficulty with getting the "ok" button to actually execute the function. It’s supposed to allow you to upload a photo, click ok, and then it returns data about the plant. The "choose files button works, but the ok button doesn’t.
Since the API sample was already created I tested it in a separate solution and was able to get it to work which leads me to believe that I’ve made a mistake in the code somewhere else or maybe there’s something blocking the program from talking to API’s web address. But for some reason it doesn’t work within the project that I’m trying to integrate it into. (ASP.NET razor page).