<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 2/4/16 3:58 PM, Liam Hoekenga wrote:<br>
</div>
<blockquote
cite="mid:CAH4ZtKRKBpfFrbBMOrvFXOquX52nL3L3GWe7QUsLneiRq542HQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Feb 4, 2016 at 3:53 PM,
Cantor, Scott <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">We
probably figured this out months ago, the problem is just
the script and use of curl, it defaults the Content Type
to form-encoded if you don't set it.</blockquote>
</div>
<br>
The content-type on my POST seems to be text/xml:</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">
<div class="gmail_extra">> POST /idp/profile/SAML2/SOAP/ECP
HTTP/1.1</div>
<div class="gmail_extra">> Host: <a moz-do-not-send="true"
href="http://shib-idp-test.www.umich.edu">shib-idp-test.www.umich.edu</a></div>
<div class="gmail_extra">> Authorization: Basic
BLAHBLAHBLAHSTUFF</div>
<div class="gmail_extra">> User-Agent: curl/7.46.0</div>
<div class="gmail_extra">> Accept: */*</div>
<div class="gmail_extra">> Content-Type: text/xml;
charset=utf-8</div>
<div class="gmail_extra">> Content-Length: 735</div>
<div class="gmail_extra"><br>
</div>
</div>
</div>
</blockquote>
<br>
<br>
Hmmm, ok. But does it also show the actual request body, or can you
get curl to do that? That's really what we want to know. The IdP
is saying that the request body isn't valid XML.<br>
<br>
</body>
</html>