web stats
Mirth Community - View Single Post - API authorization?
View Single Post
  #4  
Old 08-03-2016, 04:48 PM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,126
narupley is on a distinguished road
Default

Hmm unfortunately no, it's just more of an HTTP-specific concept. It's rather easy though, all you need to do is include the Cookie header on all future requests, passing in the same thing you get from the Set-Cookie header on the successful login request.

Make sure to also invoke the logout endpoint after you're finished with a session.
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote