Guys can you help me about my task because i want to use my web api to business central. the api is need to have a log in before it can be use. In business central i need to have a action button where in i can use the web api from c#. thank you so much for the help
To consume a web API in Business Central with authentication, create a codeunit to handle the API calls and include authentication headers. Attach the codeunit's method to an action button on a page to trigger the API call when clicked.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.