[SOLUTION] VaRest api GET POST PUT DELETE CRUD Operation

i found solution about VaRest API Plugin
Because no one helped me in here. So i did it all by myself. it will help other people …

GET:


POST:

PUT:

DELETE:

JSON example: (MongoDB)

{

        "_id": {

            "$oid": "622977bdcbb6fddf5b604496"

        },

        "author": "Tom",

        "item_id": 22,

        "name": "Sword"

    }
6 Likes

Thanks for your tips and solutions.
Im trying to POST a new entry, a new player and score if doesnt exists in my json leader board server.
And if the player already exists, just update the score.
The thing is that I can not modify the json file at the server, an Oracle cloud server.
What could I do?
Thnx again.

Very good job ! Thanks ! Bravo !