Posts

Showing posts with the label Rest API in AL

Consume Rest API in Business Central Code with Basic Auth

 Rest API Call With Basic Auth | Woo Commerce Rest API So i was working on some requirement of pushing products directly form Microrosft Business Central  to E-Commerce side i.e WOO-Commerce. so what we need is to consume the woo side API's into our AL code (BC SIDE) that requires the basic auth in case of https authentication. Here is a glimpse of code for understanding or picking some approach for the others seeking something like that in Business Central.   action( UnixTimestamp )             {                 ApplicationArea = All;                  trigger  OnAction ()                  var            ...