In Playwright, creating PUT and PATCH requests is very similar to creating a POST request.
The only difference is the HTTP method (request.put() or request.patch()).
PUT is generally used to replace the entire resource.
PATCH is used to update only specific fields of an existing resource.
Eg. Update only the name or price
We will create the put/parch request and then validation of response.
Sample API Server = https://restful-api.dev/
#playwright #playwrighttutorial #playwrightwithtypescript #apitesting
#apitestingwithplaywright #automationtesting #qatraining
#letslearnqa