Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6229911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:39:13+00:00 2026-05-24T09:39:13+00:00

I am building an API and I was wondering is it worth having a

  • 0

I am building an API and I was wondering is it worth having a method in an API that returns the status of the API whether its alive or not?

Or is this pointless, and its the API users job to be able to just make a call to the method that they need and if it doesn’t return anything due to network issues they handle it as needed?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T09:39:13+00:00Added an answer on May 24, 2026 at 9:39 am

    I think it’s quite useful to have a status returned. On the one hand, you can provide more statuses than ‘alive’ or not and make your API more poweful, and on the other hand, it’s more useful for the user, since you can tell him exactly what’s going on (e.g. ‘maintainance’).

    But if your WebService isn’t available at all due to network issues, then, of course, it’s up to the user to catch that exception. But that’s not the point, I guess, and it’s not something you could control with your API.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building classes that interface with the Twitter API, and I'm wondering whether PHP's
I'm building an application that uses an elaborate API to fetch data from Youtube,
I am building an app that uses the fine Urban Airship api to send
Ok Im building AN API but also wanting to have that API used by
We are building a REST API using ASP.NET MVC. This API is similar in
I'm building a REST API that exposes data as XML. I've got a whole
I'm building an app in Symfony2 that receives a HTML string via an API,
(Not sure is this has been discussed before ...) When building SQL for category
I'm building an api using ASP.NET MVC 3. When a controller action is not
Currently in the process of building an API, and I was wondering if the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.