When you want to send sensitive data, like passwords, which method is more suitable?
- POST
- GET
- PUT
- PATCH
The POST method is more suitable for sending sensitive data like passwords. It sends data in the request body, not in the URL, which enhances security.
Loading...
Related Quiz
- The default keyword in a PHP switch statement is optional.
- What function can be used in PHP to filter and validate data?
- How do you handle errors when inserting data into a MySQL table using PHP?
- How do you use the $_SERVER superglobal in PHP?
- What are some common practices in PHP when using Object-Oriented Programming?