Letak List Response HTTP Pada Laravel

on under Laravel
1 minute read

Letak List response http pada laravel

lihat daftar respone pada file vendor/symfony/http-foundation/Response.php

public function destroy(Question $question)
    {
        $question->delete();
        // return response('Deleted', 201);
        // lihat daftar respone pada file vendor/symfony/http-foundation/Response.php
        return response(null, Response::HTTP_NO_CONTENT);

    }
laravel, php
comments powered by Disqus