That great!
Just a quickie. Is there any way how I can customize Mango Automation myself? Or it is not intended to do?
Cheers,
Janus
Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
Latest posts made by piwi
-
RE: How to set basic authentication parameter (user, pass) in HTTP retriever module?
-
RE: How to set basic authentication parameter (user, pass) in HTTP retriever module?
Hi Joel,
I am currently playing a bit with Mango Automation. It is a nice tool.
How long would it take to update Mango with that feature?
I have already used basic authentication in Java for retrieving XML files from my embedded web server.here a code snippet:
private String encodeHttpAuthorization(String user, String pass) throws Exception { String urlEncStr = ""; if(user.length() != 0 || pass.length() != 0) { String userpass = user + ":" + pass; // urlEncStr = "Basic " + javax.xml.bind.DatatypeConverter.printBase64Binary(userpass.getBytes()); urlEncStr = "Basic " + new sun.misc.BASE64Encoder().encode (userpass.getBytes()); //String basicAuth = "Basic " + new String(new Base64().encode(userpass.getBytes())); } return urlEncStr; } ... ... try { // create the HttpURLConnection url = new URL(desiredUrl); connection = (HttpURLConnection) url.openConnection(); connection.setRequestMethod("POST"); connection.setRequestProperty("Authorization", encodeHttpAuthorization("admin", "00000")); connection.setDoInput(true); ... ...
Regards
Janus -
How to set basic authentication parameter (user, pass) in HTTP retriever module?
Hi,
how is it possible to set user, password combination in HTTP retriever module for basic HTTP authentication ?
I have an embedded device with ethernet connection. I am using xml files on it with different tags (device description, MAC, address, analog/digital data...) I want to retrieve with HTTP Retriever module.
However the XML files may just be accessed with authentication.Thanks in advance
Janus -
RE: How to set basic authentication parameter (user, pass) in HTTP retriever module?
Hi,
how is it possible to set user, password combination in HTTP retriever module for basic HTTP authentication ?
I have an embedded device with ethernet connection. I am using xml files on it with different tags (device description, MAC, address, analog/digital data...) I want to retrieve with HTTP Retriever module.
However the XML files may just be accessed with authentication.Thanks in advance
Janus