elements
elements copied to clipboard
feat: use new guzzle code sample
The pecl 1 and 2 extensions are not what people are using in PHP world, and tbh I've never seen them in the wild in over a decade writing PHP. Apparently they're onto version 3 and 4 now wanyway.
Just look at any "best HTTP clients" article and you'll see no mention of the pecl extensions.
- https://www.twilio.com/blog/5-ways-to-make-http-requests-in-php
- https://ourcodeworld.com/articles/read/674/top-7-best-php-http-client-libraries
Let's use Guzzle, and if any more of these popular HTTP clients pop up on httpsnippet we can add those too.
Deploy Preview for stoplight-elements-demo ready!
| Name | Link |
|---|---|
| Latest commit | 9e1a3e0ca1b44b554f62736af88ef030904e4372 |
| Latest deploy log | https://app.netlify.com/sites/stoplight-elements-demo/deploys/632319b8e0020d000892fd3e |
| Deploy Preview | https://deploy-preview-2177--stoplight-elements-demo.netlify.app/ |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
Deploy Preview for stoplight-elements-dev-portal-storybook ready!
| Name | Link |
|---|---|
| Latest commit | 9e1a3e0ca1b44b554f62736af88ef030904e4372 |
| Latest deploy log | https://app.netlify.com/sites/stoplight-elements-dev-portal-storybook/deploys/632319b8f359c100086f4cf4 |
| Deploy Preview | https://deploy-preview-2177--stoplight-elements-dev-portal-storybook.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
Deploy Preview for stoplight-elements ready!
| Name | Link |
|---|---|
| Latest commit | 9e1a3e0ca1b44b554f62736af88ef030904e4372 |
| Latest deploy log | https://app.netlify.com/sites/stoplight-elements/deploys/632319b8f359c100086f4cef |
| Deploy Preview | https://deploy-preview-2177--stoplight-elements.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
It's loading the curl example because the httpsnippet library has not released a new version since September 2021.
Let's see if they reply to my latest offer of help. https://github.com/Kong/httpsnippet/issues/185. otherwise we'll have to update our fork and use that (which is bloody ironic as I was asking we get rid of more of our forks). https://github.com/stoplightio/httpsnippet