Question du test Node.js - Les bases

Archivée

Que représente, généralement, un code HTTP de 201 ?

Auteur: LéoStatut : Archivée(Nouvelle question !)Question passée 403 fois
-1
Évaluations de la communauté
developer avatar
amir
24/10/2022
It’s both answers actually
developer avatar
Auteur anonyme
13/08/2023
An HTTP status code of 201 typically represents the "Created" status. It is used to indicate that a new resource has been successfully created as a result of a POST request. This status code is commonly returned in response to a POST request that results in the creation of a new resource on the server, such as creating a new entry in a database, uploading a new file, or adding a new item to a collection.