Problem making uri call

I am trying to make a call from a smart app to a website url without success. I know the url works because I can enter it in a browser with success. However, it does require a userid and password to be prepended to the website address due to the site having security credentials enabled. The url that works is as follows -->

Can someone tell me how to get this working???

The code that I am trying to use is as follows:

private sendCmd(){
def params = [
uri: “

try {
    httpPostJson(params) { resp ->
        resp.headers.each {
            log.debug "${} : ${it.value}"
        log.debug "response contentType: ${resp.    contentType}"
} catch (e) {
    log.debug "something went wrong: $e"