1
votes

I set my Firestore simple database with one field, and I checked the the GET request according to docs:

/projects/YOUR_PROJECT_ID/databases/(default)/documents/cities/LA

But I am unable to understand patch request docs. In this patch request pattern: https://firestore.googleapis.com/v1/projects/{project_id}/databases/{database_id}/documents/{document_path}?updateMask.fieldPaths=KEYVALUE.VALUE

I am confused, how shall I use this to make a patch request? kindly guide. thanks

Have you check the documentation? or are you asking how to make a PATCH request.? The URL remains same, you just change the request from GET to PATCH with updated data. - Dharmaraj