Expert
What are CORS(Cross Origin Request Sharing) headers used for?
Author: Les-tilleuls.coopStatus: PublishedQuestion passed 365 times
Edit
-1
Community Evaluations
Incorrect answer
Anas22/11/2023
L'erreur dans la question est que les entĂȘtes CORS (Cross-Origin Resource Sharing) ne sont pas utilisĂ©es pour empĂȘcher les attaques SQL ni pour dĂ©finir les mĂ©thodes HTTP acceptĂ©es. Leur principal but est de permettre Ă des ressources d'ĂȘtre accessibles par des sites web situĂ©s sur d'autres domaines en spĂ©cifiant quelles origines sont autorisĂ©es Ă faire des requĂȘtes vers un serveur.
Similar QuestionsMore questions about API Platform
3
What formats does API Platform support natively?1
How to customize a serialization group according to the logged in user in API Platform?0
What means of authenticating an API Platform user does it offer?0
How to check an access right to a transaction0
How to declare a class as a resource and benefit from an API exposing this resource?