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

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

      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>
      

            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

              Created:
              Updated:
              Resolved: