Libraries tagged by http-status-code
programster/http-codes
1498 Downloads
A package to make HTTP status codes easier.
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
199 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.
epoch2/http-codes
905 Downloads
Small PHP library for easily accessing HTTP Status Codes.
zlik/http-status-codes-trait
225 Downloads
A PHP trait which defines all standard HTTP status codes.
turkeyfried/http-status-codes
249 Downloads
PHP Class that contains HTTP Status Codes
saurabhsharma/http-status-code
50 Downloads
A simple class to return correct status codes for http responses
mrcl/http-status-codes
8 Downloads
HTTP Status Codes library
mac1qc/http-status-code
3 Downloads
Helper to get HTTP status code by using common name
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.
enjoy/http-status-code
44 Downloads
List constants for http status codes
codingmatters/http-status-codes
6 Downloads
Http Status Codes helper for PHP projects
akashjoshi1999/http-status-code
0 Downloads
HTTP status code constants and helpers for PHP (Composer package)
redoy/core-module
6 Downloads
Lightweight Laravel package providing standardized JSON response handling and HTTP status code constants for modern API development