Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-10090

curl access to business central ends in HTTP Status 405 - JSPs only permit GET POST or HEAD

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.72.0.Final
    • 7.71.0.Final
    • Console
    • None

    Description

      Using curl against business central Rest API this error is returned:(without authentication)

      $ curl -v -X PUT "http://localhost:8080/business-central/rest/controller/management/servers/newtemplate" -H "accept: application/json" -H "content-type: application/json" -d "{ \"server-id\" : \"sample-server\", \"server-name\" : \"sample-server\", \"capabilities\" : [ \"RULE\", \"PROCESS\", \"PLANNING\" ], \"container-specs\" : [ ], \"server-config\" : { }}"
      
      < HTTP/1.1 405 Method Not Allowed
      <html><head><title>Error</title></head><body>JBWEB004248: JSPs only permit GET POST or HEAD</body></html>
      

      Attachments

        Issue Links

          Activity

            People

              xiabai@redhat.com Xiaofeng Bai
              xiabai@redhat.com Xiaofeng Bai
              Tomas David Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: