TclCurl to United HealthCare

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf TclCurl to United HealthCare

  • Creator
    Topic
  • #53263
    Keith McLeod
    Participant

      Anyone using TclCurl to United HealthCare?  I can send from a shell script, but would like to put it inside of a tcl script.  I have yet to be successful inside of tcl even when trying to use exec.

      Here is what I use externally or from shell script:

      curl -k -v -o response.txt -F UserID=UHCuserid -F ‘Password=UHCpassword’ -F UploadFile=1 -F ForceRealTime=1 -F file=@$send_dir/$UHC_file_name https://www.unitedhealthcarecd.com/tpp/upload.php

      Any help is always appreciated….

    Viewing 1 reply thread
    • Author
      Replies
      • #77095
        Jim Kosloskey
        Participant

          Keith,

          Here is what I used (quite a while ago):

          if {[catch {[curl::transfer -url https://www.unitedhealthcarecd.com/tpp/upload.php

          -verbose 1

          -post 1

          -sslverifypeer 0

          -bodyvar body

          -httppost

            -httppost

            -httppost

            -httppost

            -httppost [list name “file” bufferName $filename buffer $hold_data

          email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

        • #77096
          Connie Kraska
          Participant

            Keith, you are always doing interesting cool stuff.

        Viewing 1 reply thread
        • The forum ‘Cloverleaf’ is closed to new topics and replies.