Roster PUT operation: String could not be parsed as XML

I'm trying to perform a PUT operation to update my team's roster via a HTTP PUT (I also tried a POST):


I am always getting this error:

String could not be parsed as XML

Here is a sample of what my XML looks like:

<?xml version=\"1.0\"?>

I know my team_key value is correct because I can retrieve my roster (GET) without any problems.

Do you guys see anything wrong with my XML? I've tried to normalize my XML data as well and I'm getting the same result. Please note that I am adding my XML to my HTTP request's body with the "roster" key, is this the way to do it?

Thanks for your help!

  • D
  • Feb 8, 2013
0 Replies

Recent Posts

in Fantasy Sports API