Tag: UnprocessableEntityHttpException
-
Post Views: 16 1. In the interface that obtains the resource list, the response parameter: actions, determine whether the current user has a certain operation permission for a resource, and the value is 1 to indicate that it has, and the value of 0 means that it does not have it. as shown in Figure 1 2. Interface document description,…
-
Post Views: 52 1. Yii\Web\BadRequestHttpException: status code 400. BadRequestHttpExceptions a “bad request” Http exception with status code 400. Use this exception to represent a generic client error. Describes the error. In that case, consider using the more precision exception. See also https://tools.ietf.org/html/RFC7231#Section-6.5.1. The 400 (bad request) status code indicates that the server cannot or will not process the request due…