-1
I need to consume the new IBPT url to do tax calculations without importing tables.
The url is this : https://apidoni.ibpt.org.br/api/v1/products?token=..tMobi=un&valor=34000.00>in=sem gtin
Before I did just that and that’s it.
HttpURLConnection httpConn = (HttpURLConnection) url.openConnection();
httpConn.setConnectTimeout(connectionTimeOut);
httpConn.setReadTimeout(readTimeOut);
InputStream inputStream = httpConn.getInputStream();
String retorno = IOUtils.toString(inputStream, "UTF-8");
return retorno;
Now I have to create sockets? How is it done on the invoice?
Because if I try to connect to that url by this method gives error 404.