Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mustafaabdujalil's avatar

API

This is the first time to use api i create api to use registration of laravel and login how can i test this api i mean that can i localhost:8000/api/login and send to it email and password to return json response ? i cant send email and password in route because it is post method right ?!!!!

help please

0 likes
3 replies
arabsight's avatar

use an http client to interact with your api like POSTMAN, or even a tool like curl or write tests, or write a client app or...

1 like

Please or to participate in this conversation.