Project

General

Profile

Actions

Bug #28219

closed

repositories controller responds with 200 instead of 201 to a POST request

Added by Swetha Seelam Lakshmi Narayanan about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

HTTP POST request to katello/api/v2/repositories with data {"content_type": "yum", "url": "http://inecas.fedorapeople.org/fakerepos/zoo2/", "name": "yvsIKReFpc", "product_id": 1048} results in a response code of 200 instead of 201.

Actions

Also available in: Atom PDF