About 7,240,000 results
Open links in new tab
  1. What exactly is the meaning of an API? - Stack Overflow

    The API user (generally, the higher-level software) has zero input into the API and its implementation. It may use the API as-is, or not use it at all: take it or leave it! A real-world example of an API is the interfaces defined by the C standard and implemented by the standard C …

  2. 400 BAD request HTTP error code meaning? - Stack Overflow

    Oct 30, 2013 · In the case of a REST API with a JSON payload, 400's are typically, and correctly I would say, used to indicate that the JSON is invalid in some way according to the API specification for the service. By that logic, both the scenarios you provided should be 400s. Imagine instead this were XML rather than JSON.

  3. 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 server algorithms more efficient, and returning valid exceptions on bad requests.

  4. 403 Forbidden vs 401 Unauthorized HTTP responses

    Jul 21, 2010 · With a well-designed, secure API, public enumeration of your api endpoints is not a problem. If a request matches a pattern like GET /users/:id , then the response for an authenticated user must be the same regardless of whether a user with the given id exists or not, but returning 403 for all ids is just as secure as returning 404 for all ids.

  5. REST API 404: Bad URI, or Missing Resource? - Stack Overflow

    the real HTTP 404 when the rest API is not available in the given url, it is thrown by the application server or web-server where the rest API application runs client get back HTTP 404 as well when there is no data in database based on the where condition of the query.

  6. What is the difference between an API and routes/endpoints?

    Jul 17, 2020 · API, an endpoint and a route are interchangeable but a subtle difference exist. Long Read. API as in web API world are represented by URI or REST endpoints. Best to understand it from programming analogy. Take Java API specification, there are methods aggregated in classes and packages. You may think a class as API but you actually call its ...

  7. What is a callback URL in relation to an API? - Stack Overflow

    Apr 28, 2014 · the api works on your request for a certain amount of time; the api invokes your app to give you the results, at the callback url address. So you can invoke the api and tell your user the request is "processing" or "acquired" for example, and then update the status when you receive the response from the api. Hope it makes sense. -G

  8. Calling http rest api from https rest api with error 502

    Aug 21, 2019 · If I won't use authorisation in postman then my https rest api which calls http rest api won't be available because of no security token. – Konstantin P. Commented Aug 22, 2019 at 8:01

  9. What is idempotency in HTTP methods? - Stack Overflow

    May 21, 2019 · The meaning of 'stateless' in rest and Http. 1. Correct (RESTful) HTTP Method for handing mixed / batch ...

  10. rest - What exactly is RESTful programming? - Stack Overflow

    Mar 22, 2009 · S0, API has actually a broader meaning than just building web APIs. Now let's take a look at the REST Architecture to build APIs. REST which stands for Representational State Transfer is basically a way of building web APIs in a logical way, making them easy to consume for ourselves or for others.

Refresh