Skip to content

API Update tutorial #10

@Azeem-Khan1

Description

@Azeem-Khan1
  1. In local broswer, add /api/players to the end of url (8086)
  2. It should show all records in the database
  3. To update from Postman, type in the url from the browser and add '/update'
  4. Make sure the PUT method is selected
  5. navigate body > raw > JSON
  6. Type in {"uid": "<uidOfAccount>", "data": {"<keyToUpdate>": <newValue>}} (change things inside <> as needed.)
  7. Click send
  8. Reload the browser tab
  9. Data should be updated and shown

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions