Updated Mojo into Raw JSON sent list (markdown)
parent
d51a1893b8
commit
1c60ba7ab5
1 changed files with 0 additions and 10 deletions
|
@ -31,16 +31,6 @@ Extracts JSON data, so for example in this scenario it would get this JSON:
|
|||
```
|
||||
And out of that would get the "SOMETHING" as text data.
|
||||
|
||||
```Perl
|
||||
$self->render( status => 403 );
|
||||
```
|
||||
Sends as the JSON:
|
||||
```JSON
|
||||
{
|
||||
"status": 403,
|
||||
}
|
||||
```
|
||||
|
||||
```Perl
|
||||
my $json = $self->req->json;
|
||||
```
|
||||
|
|
Reference in a new issue