Skip to content
This repository has been archived by the owner on Dec 6, 2020. It is now read-only.

POC in order to find the right setup to define a global error handler in differents web based technologies

Notifications You must be signed in to change notification settings

righettod/poc-error-handling

Repository files navigation

Introduction

This repository is the code sandbox of the OWASP Error Handling Cheat Sheet.

All sandbox projects are stored in the poc folder.

Every project expose a single service that throw a exception in order to simulate an non-catched exception by the application and then simulate an unexpected error.

IDE used

The following IDE has been used:

Projects can be directly opened and run using the associated IDE (a Run Configuration has been added for Java project).

Command line to test the error handling

The following curl command line can be used to trigger the error handling.

Project: java-classic-web-application

curl -v http://localhost:9090/service

Project: java-springboot-web-application

curl -v http://localhost:8080/greeting

Project: aspnet-core-web-application

curl -v http://localhost:[PORT]/api/values

Project: aspnet-webapi-web-application

curl -v http://localhost:[PORT]/api/values

About

POC in order to find the right setup to define a global error handler in differents web based technologies

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published