CURL command line mode

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"}'


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324654396&siteId=291194637