An open API service indexing awesome lists of open source software.

https://github.com/jcmdsbr/test-polly-api

API for testing Polly library calls
https://github.com/jcmdsbr/test-polly-api

Last synced: about 2 months ago
JSON representation

API for testing Polly library calls

Awesome Lists containing this project

README

        

# Test Polly API :sunglasses:

Project aimed at testing Polly library calls

## Give a Star! :star:

If you liked the project, please give a star ;)

## You need some of the fallowing tools :exclamation:

- .NET6

## Description :books:

The project is a minimal API in .net 6 and contains 3 paths:

[GET] -> "/sleep" : returns status code 200 of 5 seconds,
it is possible to customize by informing in the query string the parameter time "/sleep?time=10"

[GET] -> "/fail" : returns status code 400

[GET] -> "/intermittent" : can return 200 or 400 randomly