CURL 명령 행 모드

curl -X POST http://apidemo.test/api/register \
    -H "Accept: application/json" \
    -H "Content-Type: application/json" \
    -d '{"name": "   ", "email": "[email protected]", "password": "test123", "password_confirmation": "test123"}'
curl -X POST http://apidemo.test/api/register \
    -H "Accept: application/json" \
    -H "Content-Type: application/json" \
    -d '{"name": "   ", "email": "[email protected]", "password": "test123", "password_confirmation": "test123"}'

좋은 웹페이지 즐겨찾기