web stats
Mirth Community - View Single Post - API authorization?
View Single Post
  #1  
Old 08-03-2016, 04:20 PM
UglyBaldMan UglyBaldMan is offline
What's HL7?
 
Join Date: Aug 2016
Posts: 5
UglyBaldMan is on a distinguished road
Default API authorization?

Ok... I've very new to Mirth, and I'm trying to get started with the API.

I just want to get a simple list of channels (to start with). I can put "https://localhost:8443/api/channels" into the address bar of a browser, and get the XML response with no problem... but when I try to do it with Postman, I get an "unauthorized" error. Is there some kind of token I need to include? Where would I get it?

I've tried to first use the "api/users/_login" function, and Mirth gives me a "NullPointerException" and an XML stack trace...

Is there a correct process?

Thanks.
Reply With Quote