Currently I have a Web API Controller with a Post Method [form body] which does a post using PostMan to the Database.
Now the only thing I want to do is have that post method in the Web API work when a Html form='post' is submitted then let it post to the database. But How to make this happen?
Hey Everyone I was able to answer my own question, just for future viewers here's what I did
Html form with ajax:
ValuesController.cs: