Which type of format is this in laravel api?

Posted 2 months ago by raviawasti

What we call this type of data in api array or object

{ "success": "0", "post": { "username": [ "The username has already been taken." ], "email": [ "The email has already been taken." ] } }

and this one

{ "success": "1", "post": { "user_id": 35783, "name": "vicky", "email": "[email protected]", "phone": "7678278765", "token": "5652432d00bdb28357fb71540a23e704a45a90076815bf9801" } }

Please sign in or create an account to participate in this conversation.