cluedin-widget
Version:
This project contains all the pages needed for browsing entities and searching them. The aim is to replace the CluedIn.Webapp project with this one when all the pages ( including the Admin page ) will be ported to REACT.
12 lines (9 loc) • 315 B
JavaScript
import { appFrontApiRequest } from '../helpers/request';
export function save(askForLead) {
return appFrontApiRequest('POST', 'api/askForLead', askForLead);
}
export function findAskForLead(orgName) {
return appFrontApiRequest('GET', `api/askForLead/${orgName}`).then((resp)=> {
return resp.body;
});
}