About 353,000 results
Open links in new tab
  1. What are REST API error handling best practices? [closed]

    I'm looking for guidance on good practices when it comes to return errors from a REST API. I'm working on a new API so I can take it any direction right now. My content type is XML at the …

  2. Best practice for error handling with ASP.NET Web API

    Jan 13, 2017 · Please refer to this link Exception Handling in ASP.NET Web API - A Guided Tour. There are 4 level exception handling pipeline: Level 1 - HttpResponseException; Level 2 - …

  3. rest - Error Handling for Invoke-RestMethod - Stack Overflow

    I have a powershell script using the Skytap API (REST). I would like to catch the error, if there is one, and try to display it. For example, we are changing the IP: Invoke-RestMethod -Uri https://

  4. Error Handling on Java SDK for REST API service

    Nov 5, 2013 · The solution may vary depending on your needs. If it is supposed that there could appear unpredictable new exception types in the future, your second solution with checked …

  5. Laravel API, how to properly handle errors - Stack Overflow

    This only works if you are only using API. However my app has also API and normal responses. So I need 2 different ways to handle them - even if I am calling the same code. So I am not …

  6. rest - Catching errors in Angular HttpClient - Stack Overflow

    Sep 3, 2017 · Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers; Advertising & Talent Reach devs & technologists worldwide about …

  7. node.js - How to do error handling in a REST API with Express ...

    Jul 5, 2017 · Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question.Provide details and share your research!

  8. Error Handling in REST API: Best Practice - Stack Overflow

    Mar 21, 2019 · so when a request come with valid country, my rest service will prepare information for that country and prepare object called countryInfo and return this as return …

  9. http - REST API error code 500 handling - Stack Overflow

    I've had these issues mainly during high traffic periods of my application. I reduced them by reducing payloads i.e. reducing arrays and objects to only what I need to send, making my …

  10. Best practices for error handling in REST apis with async/await?

    Jun 23, 2022 · Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers; Advertising & Talent Reach devs & technologists worldwide about …

Refresh