mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Merge pull request #5886 from kenjis/fix-docs-api_responses.rst
docs: fix heading level in api_responses.rst
This commit is contained in:
commit
adcfa13919
@ -56,8 +56,10 @@ So, if your request asks for JSON formatted data in an **Accept** header, the da
|
||||
``respond*`` or ``fail*`` methods will be formatted by the ``CodeIgniter\Format\JSONFormatter`` class. The resulting
|
||||
JSON data will be sent back to the client.
|
||||
|
||||
***************
|
||||
Class Reference
|
||||
***************
|
||||
|
||||
.. php:method:: setResponseFormat($format)
|
||||
|
||||
:param string $format: The type of response to return, either ``json`` or ``xml``
|
||||
|
Loading…
x
Reference in New Issue
Block a user