Project

General

Profile

Actions

Bug #6446

closed

We need to either support non-json requests or show an error when a user submits other content types.

Added by David Davis over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

In the API doc, it says you can either use a root node or not. However, this only works with JSON. As in http://projects.theforeman.org/issues/5178, many (or maybe most) API users aren't using JSON.


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #6786: Cannot create an organization.ClosedDavid Davis07/26/2014Actions
Related to Katello - Bug #8846: Katello API throws an incorrect error when receiving non-json requestsClosedDavid Davis01/06/2015Actions
Actions

Also available in: Atom PDF