This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user> (require '[clj-http.client :as http]) | |
nil | |
user> (http/post "http://localhost:8080" {:body "some test text" :content-type :xml}) | |
; Evaluation aborted. | |
user> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POST / HTTP/1.1 | |
Content-Type: application/xml; charset=UTF-8 | |
Connection: close | |
Accept-Encoding: gzip, deflate | |
Content-Length: 14 | |
Host: localhost:8080 | |
User-Agent: Apache-HttpClient/4.1.3 (java 1.5) | |
some test text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment