Project

General

Profile

Actions

action #65387

open

[functional][y] Use body in POST requests instead of URL query parameters

Added by oorlov about 4 years ago. Updated 3 months ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Start date:
2020-04-07
Due date:
% Done:

0%

Estimated time:

Description

Motivation

Currently, libyui-rest-api is designed to send parameters in URL not only for GET, but also for POST requests.

Though, according to W3:

POST is used to send data to a server to create/update a resource.

The data sent to the server with POST is stored in the request body of the HTTP request

Task

In order to make the API to be more consistent with the definition and purpose of POST request, please change all the POST requests to receive parameters in HTTP request body.

Actions

Also available in: Atom PDF