Announcement
Collapse
Mirth Connect 4.1.0 Released!
Mirth Connect 4.1.0 is now available as an appliance update and on our GitHub page. Mirth Connect 4.1.0 includes new features such as new event log messages, additional fields to the Welcome to Mirth Connect screen, new information included in alerts as well as many smaller changes, updates, and improvements. This release also contains several improvements to commercial extensions. See the release notes for the list of fixes and updates.
Download | See What's New | Upgrade Guide | Release Notes
For discussion on this release, see this thread.
Download | See What's New | Upgrade Guide | Release Notes
For discussion on this release, see this thread.
See more
See less
Converting Curl command to HTTP sender in Mirth Channel (CSV to HTTP Sender) RESOLVED
Collapse
X
-
I missed the error in your first post (I just expected a screenshot, not an xml export).
I doubt the container name resolves in the mirth instance.
Leave a comment:
-
Also the URL hostname of the curl command you posted does not match the channel you posted.
Leave a comment:
-
I don’t think you have ever posted the error
and I asked you for a sample file which you never posted.
You are making it hard to help you
Leave a comment:
-
This curl command (note this forum adds spaces in the command):
curl --data-binary @template_import.csv "localhost:3000/api/dataValueSets?dataElementIdScheme=code&orgUnitIdSc heme=code&categoryOptionComboIdScheme=code&dryRun= false&importStrategy=CREATE" -H "Content-Type:application/csv" -u admin:district
The curl set up:
2022-06-09_21-59.png
What the other side sees:
2022-06-09_21-59_1.png
The mirth setup:
1) set your source reader to binary, not text.
2) remove the "?" like siddharth said.
3) Set pre-emptive
What the other side sees:
2022-06-09_22-02.png
Screenshot of both since font size make it look different:
2022-06-09_22-05.png
Attached FilesLast edited by pacmano; 06-09-2022, 07:05 PM.
Leave a comment:
-
Post a sample dataset to send to the channel. I wrote that above.
It's a bit hard to help becase we don't know the endpint software that you are calling, can your provide a link to their API specs?
Leave a comment:
-
I arleady mentioend to send these to yourself, your calls don't match.
To get better help:
Post a full channel export.
Post a sample dataset to send to the channel.
2022-06-09_21-22.png
Leave a comment:
-
I think there should not be any question mark on the URL.If I remember it would come automatically because you are using query Params.
Leave a comment:
-
You can of course likely find some other tool that is just a "dumb" listener which is the main objective here - i.e. to show you the raw http post as received by the other side.
The echo server I mentioned assumes you have intereactive access to see the output. That is possible of course for a container. There are also containers on docker hub that provide an echo service.
Leave a comment:
Leave a comment: