Libraries tagged by request headers

phpro/mage2-module-bypass-page-cache

1 Favers
29593 Downloads

Bypass the page cache by adding a specific header to the request

Go to Download


paypaplane/svix-client

0 Favers
15205 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.

Go to Download


cmpayments/guzzle-psp-authentication-middleware

5 Favers
7842 Downloads

Guzzle middleware which adds authentication-header to Guzzle-requests.

Go to Download


gofabian/negotiation-middleware

10 Favers
77291 Downloads

PHP negotiation middleware for accept headers of PSR-7 requests. Uses the negotiation library willdurand/negotiation.

Go to Download


bedrockstreaming/newrelic-guzzle-http-host

0 Favers
51239 Downloads

A workaround to report Guzzle requests with correct Host Http header in NewRelic.

Go to Download


middlewares/method-override

5 Favers
16816 Downloads

Middleware to override the request method using the X-Http-Method-Override header

Go to Download


bibrokhim/laravel-language-header

0 Favers
241 Downloads

Set application locale from request header and return response with correct header

Go to Download


arkbauer/guzzle-bundle-header-forward-plugin

2 Favers
4827 Downloads

Guzzle plugin that allow you to forward headers from your current request into the the guzzle one automatically. Forked to support Symfony 4

Go to Download


bayfrontmedia/php-http-request

4 Favers
1642 Downloads

Easily handle data from incoming HTTP requests.

Go to Download


skrypnet/http-utils

2 Favers
55769 Downloads

Basic repo with all HTTP codes, methods and headers as native PHP lacks these simple consts.

Go to Download


php-extended/php-http-client-uir

0 Favers
22068 Downloads

A psr-18 compliant middleware client that handles upgrade insecure request headers.

Go to Download


upscale/http-server-mock

5 Favers
3728 Downloads

HTTP server that responds to recognized requests with static body and headers

Go to Download


phpgt/http

1 Favers
9928 Downloads

PSR-7 HTTP message implementation.

Go to Download


itspire/framework-extra-bundle

0 Favers
1981 Downloads

Itspire - Symfony Framework Extra Bundle

Go to Download


hackerone/curl

54 Favers
2008 Downloads

Curl Wrapper for PHP

Go to Download


<< Previous Next >>