Wednesday, February 22, 2023

Trigger URL with simple json using x++

 Trigger URL with simple json using x++.


	RetailCommonWebAPI      retailCommonWebAPI = RetailCommonWebAPI::construct();

	str requestURL = 'URL';
	str json = '{"TestField" : "123"}';

	retailCommonWebAPI.makePostRequest(requestURL, json, '', 'application/json');


Keep Daxing!!

No comments:

Post a Comment