Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve insert/delete API response #113

Merged
merged 1 commit into from
Dec 24, 2023
Merged

Conversation

richard-epsilla
Copy link
Contributor

POST http://localhost:8888/api/MyDB/data/insert -d ...
Response:

{
    "message": "Insert data to MyTable1292 successfully.",
    "result": {
        "inserted": 5,
        "skipped": 3
    },
    "statusCode": 200
}

POST http://localhost:8888/api/MyDB/data/delete -d ...
Response:

{
    "message": "Delete data from MyTable12 successfully.",
    "result": {
        "deleted": 14
    },
    "statusCode": 200
}

@richard-epsilla richard-epsilla merged commit 9a20b44 into main Dec 24, 2023
@richard-epsilla richard-epsilla deleted the crud-api-response branch February 12, 2024 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants