Libraries tagged by statuscodes
lartisanlogiciel/http-status-object
1 Downloads
Object oriented http status codes
kruegge82/jumingo
31 Downloads
## About With the JUMINGO shipping API you can import your shipments into your JUMINGO account from any source. The functionalities of the API include creating and updating shipment drafts, fetching suitable shipment rates for a given shipment and purchasing shipping labels. Furthermore, you can retrieve tracking data and fetch shipping labels and documents for all your purchased shipments. The current main purpose of the API is to connect your account to e-commerce systems and marketplaces. ## General The API is organized around REST. Our API has resource-oriented URLs and uses HTTP response codes to indicate API errors. We use built-in HTTP features, like HTTP authentication and HTTP verbs. All API requests must be made over HTTPS. Calls made over plain HTTP will return errors. Request data is passed to the API as JSON objects and JSON is also returned by all API responses, including errors, although our API SDKs convert requests and responses to appropriate language-specific objects. Best practice usage of the API and business logic is described in the supplementary [integration guide](https://www.jumingo.com/cms/JUMiNGO_API-integration-guide.pdf "JUMiNGO API Integration Guide"). ## Base URL The base URL for all calls is: `https://api.jumingo.com/v1` ## HTTP status codes HTTP response codes in the `2xx` range indicate success. Codes in the `4xx` range indicate an error on the client side (e.g. a required parameter is missing). Codes in the `5xx` range indicate an error with our servers. Each error should provide an error code and an error message with further information. HTTP status code | Description ---------------- | ----------- 200, 201, 204 - OK | Everything worked. 400 - Bad Request | The request was unacceptable, often due to missing a required parameter or a validation error. 401 - Unauthorized | No valid API key has been provided or your account is disabled. 403 - Forbidden | You are not allowed to talk to this endpoint. This can either be due to a wrong authentication or when you’re trying to reach an endpoint that your account isn’t allowed to access. 404 - Not Found | The requested resource doesn’t exist. 500, 502, 503, 504 - Server Errors | Something went wrong on our side. Please contact our support if you receive this error. ## Authentication All API requests requires authentication. Unauthorized calls will return errors. Authenticate by including your API key in the `X-AUTH-TOKEN` HTTP header of each API call, e.g.: `X-AUTH-TOKEN: INSERT_YOUR_API_KEY` You can find your API key in your JUMINGO user account. You can get access to the JUMiNGO customer API by enabling it in your [user account](https://www.jumingo.com/de-de/users/connections/create/8). After activation, you will get your personal API key. ## Date/Time Format All values of type `string ` are defined in a specific [RFC 3339](https://tools.ietf.org/html/rfc3339#section-5.6) format and must also be formatted accordingly for requests. The format is: YYYY-MM-DD hh:mm:ss Example: 2018-07-26 15:54:13 All dates and times are specified in UTC (Coordinated Universal Time).
kayobruno/http-status-code
0 Downloads
The "HTTP Status Code Abstraction" project is a PHP 8-based initiative aimed at simplifying the management and usage of HTTP status codes by introducing ENUM support. HTTP status codes are integral to web development, providing vital information about the success or failure of HTTP requests and responses. However, managing and referencing these status codes in a clear and organized manner can often be challenging. This project seeks to address this challenge by leveraging PHP 8's ENUM feature.
jq/response
12 Downloads
Response is an helper class which handles HTTP response, status codes and messages returned from different functions. Useful for unifiying API responses.
jeykeu/response
29 Downloads
Response is an helper class which handles HTTP response, status codes and messages returned from different functions. Useful for unifiying API responses.
imflyou/php-http-enum-constant
6 Downloads
A comprehensive PHP library providing type-safe HTTP enums for methods, status codes, headers, media types, and cache control directives.
iaretedd/http
33 Downloads
Eventually this library may have some useful HTTP-related helpers, but currently there's only HTTP response status codes.
hschulz/php-status-code-library
0 Downloads
Status codes for protocols and whatnot.
fastpress/response
77 Downloads
An efficient and flexible HTTP response handling library for PHP, designed to integrate seamlessly with the Fastpress framework. It offers easy-to-use methods for managing HTTP responses, headers, and status codes.
erickcomp/http-status
14 Downloads
This package provides 2 classes with the HTTP status codes and its reason phrases mapped as class constants: Status provides the official status codes and UnnoffcialStatus provides all official one plus some unnoficials
enjoy/http-status-code
44 Downloads
List constants for http status codes
drupal-eca-recipe/eca_lib_0046
3 Downloads
One model building an editorial desk: a composite block assembled element by element from a heading, a dropbutton, an embedded view and a details panel; a deferred region resolved through a lazy element; an endpoint serving JSON, an HTMX fragment and a bare timestamp with per-branch status codes, headers and cache lifetimes; and a counter that re-fetches only when the endpoint announces an event through the HX-Trigger header.
dasbit/apiclient
7 Downloads
Simple api client wrapper without throwing exceptions with statuscodes
crypto_scythe/http_generator
17 Downloads
HTTP header fields, media types and status codes
crypto_scythe/http
7 Downloads
PHP convenience classes for HTTP header fields, media types and status codes