Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-10832

/tokens#1.1_create_post specifies unsupported parameter content type

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: API descriptor
    • Labels:

      Description

      post /tokens#1.1_create_post under requestPayload specifies text/plain parameter content type which is not supported. If used the response is:

      {
        "code": 400,
        "reason": "Bad Request",
        "message": "The request could not be processed because it specified the content-type 'text/plain' when only the content-type 'application/json' and 'multipart/form-data' are supported"
      }
      

      On top of that, if multipart/form-data is used, the following message is observed:

      {
        "code": 400,
        "reason": "Bad Request",
        "message": "The request could not be processed because the  content-type was not specified and is required"
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                n4al Nemanja Lukic
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: