More

    [Yii2] Créer une API RESTful

    C. Essais de l’API

    1. Téléchargez Postman, puis ouvrez Postman. Envoyez une requête à l’URL « http://localhost/yii2-advanced/api/web/users ».
    yii2 api 04
    1. Ou avec la commande CURL
    yii2 api 05
    1. Vous pouvez également y accéder par le biais d’un navigateur en utilisant l’URL «  »http://localhost/yii2-advanced/api/web/users » ».
    yii2 api 06

    Dernières articles