-
Hello, All: I am in a 4.4.2 environment, using the API with scripts I wrote to manually export/import/deploy channels, so I am certain my API on Mirth works, however, when I try to run mirthsync, either from linux or windows, I get this: PS C:\Users\jim.howard\Desktop\mirthsync-3.1.0\bin> .\mirthsync.bat -s https://my.ip.add.ress:8443 -u [email protected] -p mypassword -i -t ./t pull HTTP ERROR 405 HTTP method POST is not supported by this URL\n\n\n\n\n\n
at slingshot.support$stack_trace.invoke(support.clj:201) at clj_http.client$exceptions_response.invokeStatic(client.clj:240) at clj_http.client$exceptions_response.invoke(client.clj:231) at clj_http.client$wrap_exceptions$fn__2402.invoke(client.clj:249) at clj_http.client$wrap_accept$fn__2612.invoke(client.clj:726) at clj_http.client$wrap_accept_encoding$fn__2619.invoke(client.clj:748) at clj_http.client$wrap_content_type$fn__2606.invoke(client.clj:709) at clj_http.client$wrap_form_params$fn__2705.invoke(client.clj:950) at clj_http.client$wrap_nested_params$fn__2726.invoke(client.clj:984) at clj_http.client$wrap_flatten_nested_params$fn__2735.invoke(client.clj:1008) at clj_http.client$wrap_method$fn__2673.invoke(client.clj:884) at clj_http.cookies$wrap_cookies$fn__1081.invoke(cookies.clj:131) at clj_http.links$wrap_links$fn__2207.invoke(links.clj:63) at clj_http.client$wrap_unknown_host$fn__2743.invoke(client.clj:1037) at clj_http.client$request_STAR.invokeStatic(client.clj:1165) at clj_http.client$request_STAR_.invoke(client.clj:1158) at clj_http.client$post.invokeStatic(client.clj:1183) at clj_http.client$post.doInvoke(client.clj:1179) at clojure.lang.RestFn.invoke(RestFn.java:423) at mirthsync.http_client$with_authentication.invokeStatic(http_client.clj:51) at mirthsync.http_client$with_authentication.invoke(http_client.clj:45) at mirthsync.core$run.invokeStatic(core.clj:21) at mirthsync.core$run.invoke(core.clj:10) at mirthsync.core$main_func$fn__3776.invoke(core.clj:46) at mirthsync.core$main_func.invokeStatic(core.clj:45) at mirthsync.core$main_func.doInvoke(core.clj:37) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invokeStatic(core.clj:665) at clojure.core$apply.invoke(core.clj:660) at mirthsync.core$_main.invokeStatic(core.clj:57) at mirthsync.core$_main.doInvoke(core.clj:55) at clojure.lang.RestFn.applyTo(RestFn.java:137) at mirthsync.core.main(Unknown Source) clj-http: status 405 What am I missing? Is mirthsync switching to http instead of https or something? I don't see any reason I should be getting a 405 on a post. Any help appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
In the interest of sharing, I solved this myself... It turns out, at least for my installation, I need to specify with the URL the api directory, as such: https:/1.2.3.4:port:/api Once I did that, it works. |
Beta Was this translation helpful? Give feedback.
In the interest of sharing, I solved this myself... It turns out, at least for my installation, I need to specify with the URL the api directory, as such: https:/1.2.3.4:port:/api
Once I did that, it works.