web stats
Client API Question - Mirth Community

Go Back   Mirth Community > Mirth Connect > Development

Thread Tools Display Modes
Old 04-30-2018, 10:07 PM
smealio smealio is offline
What's HL7?
Join Date: Apr 2018
Posts: 3
smealio is on a distinguished road
Default Client API Question

I have been playing with the client APIs. It "appears" that in order to exercise some of the APIs you have to issue a LOGIN request.

Once you issue the login request via posting credentials as form data you get back a sessionId in the form of a cookie.

The problem is when the cookie is set it is set as the path of /api

This is problematic. This means the sessionid cookie is only available if my client is running in the path if [site]/api

Better practice would be to set the path of the cookie to the highest domain of '/'

Is there a specific reason as to why the cookie is set like this?
Reply With Quote

api, api cookie

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -8. The time now is 11:01 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Mirth Corporation