Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1307

Add Content-Type to REST service documentation

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 2.8.0.Final
    • 2.6.0.Final
    • Documentation
    • None

      The reference guide does not explicitly indicate the need for a Content-Type: application/json header in HTTP POST requests to the REST server. If omitted, this can result in a failure with a misleading error message. Enhance the documentation to include the Content-Type header in the examples, and/or include an actual example of using a tool like wget or curl to submit a request. Generally speaking, make an explicit statement about the Content-Type requirement.

              rhauch Randall Hauch (Inactive)
              jonathandfields_jira Jonathan Fields (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: