Libraries tagged by responses
puklipo/laravel-vapor-gzip
11864 Downloads
Gzip Response middleware for Laravel Vapor
programic/laravel-convert-case-middleware
11369 Downloads
Convert request and response keys to and from camel and snake case.
pew-pew/http-factory
1096 Downloads
HTTP factory for decoding request and encoding responses with symfony integration
paypaplane/svix-client
10230 Downloads
Welcome to the Svix API documentation! Useful links: [Homepage](https://www.svix.com) | [Support email](mailto:[email protected]) | [Blog](https://www.svix.com/blog/) | [Slack Community](https://www.svix.com/slack/) # Introduction This is the reference documentation and schemas for the [Svix webhook service](https://www.svix.com) API. For tutorials and other documentation please refer to [the documentation](https://docs.svix.com). ## Main concepts In Svix you have four important entities you will be interacting with: - `messages`: these are the webhooks being sent. They can have contents and a few other properties. - `application`: this is where `messages` are sent to. Usually you want to create one application for each user on your platform. - `endpoint`: endpoints are the URLs messages will be sent to. Each application can have multiple `endpoints` and each message sent to that application will be sent to all of them (unless they are not subscribed to the sent event type). - `event-type`: event types are identifiers denoting the type of the message being sent. Event types are primarily used to decide which events are sent to which endpoint. ## Authentication Get your authentication token (`AUTH_TOKEN`) from the [Svix dashboard](https://dashboard.svix.com) and use it as part of the `Authorization` header as such: `Authorization: Bearer ${AUTH_TOKEN}`. For more information on authentication, please refer to the [authentication token docs](https://docs.svix.com/api-keys). ## Code samples The code samples assume you already have the respective libraries installed and you know how to use them. For the latest information on how to do that, please refer to [the documentation](https://docs.svix.com/). ## Idempotency Svix supports [idempotency](https://en.wikipedia.org/wiki/Idempotence) for safely retrying requests without accidentally performing the same operation twice. This is useful when an API call is disrupted in transit and you do not receive a response. To perform an idempotent request, pass the idempotency key in the `Idempotency-Key` header to the request. The idempotency key should be a unique value generated by the client. You can create the key in however way you like, though we suggest using UUID v4, or any other string with enough entropy to avoid collisions. Svix's idempotency works by saving the resulting status code and body of the first request made for any given idempotency key for any successful request. Subsequent requests with the same key return the same result. Please note that idempotency is only supported for `POST` requests. ## Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/). And that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site.
patrickriemer/http-log
3714 Downloads
HTTP request and response logging to database
papertower/wp-rest-api-psr7
7173 Downloads
Provides PSR-7 and WP REST API Response and Request classes
osi-open-source/codeception-json-schema
26423 Downloads
Json schema module for validate response by json schema for codeception test framework
mrsuh/json-validation-bundle
6490 Downloads
This bundle provides a way to validate JSON in request/response against a schema
mixerapi/collection-view
51358 Downloads
A simple Collection View for displaying pagination meta data in JSON or XML collection responses
middlewares/minifier
27137 Downloads
Middleware to minify Html, CSS and Javascript responses
middlewares/filesystem
20820 Downloads
Middleware to save or read responses using Flysystem
middlewares/csp
6796 Downloads
Middleware to add the Content-Security-Policy header to the response
mcustiel/php-simple-regex
10559 Downloads
This is a library with a set of utils to execute and get the response from regular expressions
lucinda/mvc
21254 Downloads
Ultra high-performance API for handling requests into responses via MVC pattern in PHP applications
lemric/batch-request
3535 Downloads
Send a single HTTP request that contains multiple (batch) Symfony Request calls. Once all operations are complete, a consolidated response is passed back to you and the HTTP connection is closed.