stack72 / TeamCitySharp

No Longer Maintained - please use https://github.com/mavezeau/TeamCitySharp
Other
200 stars 165 forks source link

Change content type from application/xml to text/plain when creating projects #72

Closed asbjornu closed 10 years ago

asbjornu commented 10 years ago

As per the TeamCity REST API documentation, to create a project you need to POST the plain text name, so the content type needs to be "text/plain" and not "application/xml". This should fix issue #70.