maverickjoy / SpringBootResilience4j

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SpringBootResillience4j

  • Requests:
    •   curl --location --request GET 'http://localhost:1337/health-check'
      
    •   curl --location --request GET 'http://localhost:1337/api/sample/getServiceName'
      
    •   curl --location --request GET 'http://localhost:1337/api/sample/getNameById?id=1'
      
    • curl --location --request POST 'http://localhost:1337/api/sample/saveUser' \
       --header 'Content-Type: application/json' \
       --data-raw '{
           "id" : 2,
           "name" : "hello world",
           "email": "helloworld@gmail.com"
       }'
      
    • curl --location --request GET 'http://localhost:1337/api/sample/getEmailById?id=1'
      
    •   curl --location --request POST 'http://localhost:1337/api/sample/saveUserFeign' \
        --header 'Content-Type: application/json' \
        --data-raw '{
        "id" : 2,
        "name" : "hello world",
        "email": "helloworld@gmail.com"
        }'
      

About

License:MIT License


Languages

Language:Java 100.0%