Udemy Playwright: Web Automation Testing From Zero to Hero: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
Udemy Playwright: Web Automation Testing From Zero to Hero (view source)
Revision as of 04:01, 5 June 2024
, 5 June 2024→What is an API?
| m (→next) | |||
| Line 1,103: | Line 1,103: | ||
| == Section 7: Working With APIs == | == Section 7: Working With APIs == | ||
| === What is an API? === | === What is an API? === | ||
| I'm reasonably familiar with API's. Just making some cursory notes for this lesson. | |||
| Methods | |||
| * GET | |||
| * POST | |||
| * PUT | |||
| * DELETE | |||
| Parts | |||
| * URL | |||
| * Headers | |||
| * Method | |||
| * Body | |||
| Response Status Codes | |||
| * 200's - Success | |||
| * 300's - Redirection | |||
| * 400's - Client Error | |||
| * 500's - Server Error | |||
| Playwright API Mocking | |||
| * powerful | |||
| * fast | |||
| * risky when API contracts are changing | |||
| === Setup New Project === | === Setup New Project === | ||
| === Mocking API === | === Mocking API === | ||