If we need to POST an object with validated field, we can send it from our FE (Angular, React, etc…) application with 2 main content types: JSON or “form encoded”.Pay attenction to not use the @RequestBody annotation if you want to send those datas in the second one type.The application […]
Tag: rest apis
How to fix CORB warning on OPTIONS request
If you see this annoying warning on the Console when you have finally implemented your “perfect” authentication system, you are not the only one: Perhaps using an interceptor, which I’ll explain to you on other occasions. The reason is the method of an OPTIONS request for preliminary verification, to perform […]