Libraries tagged by status-code
jarir-ahmed/http-response
19 Downloads
A simple package to send specific HTTP response codes, redirects and JSON.
gino-pane/nano-http-status
255 Downloads
Truly minimalistic and self-contained package to handle HTTP statuses and relevant description messages
epoch2/http-codes
905 Downloads
Small PHP library for easily accessing HTTP Status Codes.
codelabmw/statuses
225 Downloads
A PHP package that houses commonly used status classes and enums that can be used in PHP projects.
thingston/http-exception
405 Downloads
A set of custom PHP Exception based on HTTP Status Code.
programster/http-codes
1514 Downloads
A package to make HTTP status codes easier.
prezto/permission
114 Downloads
PSR-7 permission middleware. Sets the status code to 401 if needed according to user defined rules.
middlewares/error-response
252 Downloads
Middleware to handle responses with error status code (4xx-5xx)
kruegge82/jumingo
30 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).
jlibs/http-status
212 Downloads
Minimalist HTTP status codes library for PHP applications.
frankdejonge/http-status-in-range
1797 Downloads
Utility to check if a HTTP status code is present in a given range.
fastpress/response
73 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.
dipeshchangawala/php-url-checker
222 Downloads
A package to check the status code of a URL and detect redirections.
danilowa/laravel-api-response-builder
33 Downloads
A Laravel package designed to simplify the creation of structured and formatted API responses (JSON, XML) with custom status codes, messages, and data. XML support is currently under construction.
averay/http-exceptions
323 Downloads
Discrete exceptions for all HTTP error status code for use in a server application.