I'm having problems finding resources for json requests with xroute.
With xlocate I've found an example that was really useful and with that I was able to make this simple program:
Code: Select all
token = '';
url = 'https://xlocate-eu-n-test.cloud.ptvgroup.com/xlocate/rs/XLocate/findAddress';
addr = struct('country' , 'i','city', '', 'postCode', '', 'street', '');
data = struct('addr', addr);
options = weboptions('MediaType', 'application/json', 'Username', 'xtok', 'Password', token);
response = webwrite(url, data, options);
Thank you in advance anyone who can help me out
Gianni