Using Postman with Cloverleaf java/ws-server

Clovertech Forums Cloverleaf Using Postman with Cloverleaf java/ws-server

  • Creator
    Topic
  • #120676
    Robert Kersemakers
    Participant

      Hi all,

      I’ve been playing around with java/ws-server and certificates lately, together with Postman. Found out some things that may be of help to others.

       

      If Postman gives a ‘302 Found’ error, then go to the Postman Settings and under General activate ‘Automatically follow redirects’. That should do the trick.

      These redirects are probably also the reason why in Cloverleaf you see {method GET} even if you do a POST from Postman. So be aware of this.

      Also: with Curl (which is also available in Windows) you can execute a POST very easily:
      curl -i -X POST -H “File: TransMonSit” http://cloverleaf_tst.zorg.local:8950/leftclick/get_file/

      Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands

    Viewing 0 reply threads
    • Author
      Replies
      • #120679
        Jim Kosloskey
        Participant

          Thanks Bob for sharing this – useful information.

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

      Viewing 0 reply threads
      • You must be logged in to reply to this topic.