Pages ยท TomatoPHP
๐ APIs
you can show the APIs Endpoints here
you can activate this feature or stop it from the config file and use your own routes or your own controllers.
to make this endpoint work fine you need to add a custom gruid inside /config/auth.php to be like this
Auth Endpoints
{% swagger src="../../.gitbook/assets/document (1).json" path="/login" method="post" %} document (1).json {% endswagger %}
{% swagger src="../../.gitbook/assets/document (1).json" path="/register" method="post" %} document (1).json {% endswagger %}
{% swagger src="../../.gitbook/assets/document (1).json" path="/reset" method="post" %} document (1).json {% endswagger %}
{% swagger src="../../.gitbook/assets/document (1).json" path="/resend" method="post" %} document (1).json {% endswagger %}
{% swagger src="../../.gitbook/assets/document (1).json" path="/otp" method="post" %} document (1).json {% endswagger %}
{% swagger src="../../.gitbook/assets/document (1).json" path="/otp-check" method="post" %} document (1).json {% endswagger %}
{% swagger src="../../.gitbook/assets/document (1).json" path="/password" method="post" %} document (1).json {% endswagger %}
Profile Endpoints
{% swagger src="../../.gitbook/assets/document (1).json" path="/profile" method="get" %} document (1).json {% endswagger %}
{% swagger src="../../.gitbook/assets/document (1).json" path="/profile" method="post" %} document (1).json {% endswagger %}
{% swagger src="../../.gitbook/assets/document (1).json" path="/profile/password" method="post" %} document (1).json {% endswagger %}
{% swagger src="../../.gitbook/assets/document (1).json" path="/profile/destroy" method="delete" %} document (1).json {% endswagger %}
{% swagger src="../../.gitbook/assets/document (1).json" path="/profile/logout" method="post" %} document (1).json {% endswagger %}