Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66990

API documentation does not mention Content-Type requirement for requests

XMLWordPrintable

      Whenever I try to POST a config.xml I get an error, and looking in the log I find the following:

      java.lang.IllegalStateException: STREAMED
      at org.eclipse.jetty.server.Request.getReader(Request.java:1195)

      (Full error chain in attachment)

      The scripts I'm using for this used to work.  They fetch the Crumb as explained.  They also attach the cookie.  I've tried with both an API key and a username/password to see if that fixed it.

      Any ideas?

        1. config.xml
          0.8 kB
        2. JenkinsPostException.txt
          9 kB
        3. JenkinsTest.ps1
          1 kB

            crystalldev Marek Hasselder
            theandrewducker Andrew Ducker
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: