curl
is a type of nice utilities that is been round seemingly perpetually and has limitless use instances. Lately I discover myself utilizing curl
to batch obtain recordsdata and check APIs. Typically my testing leads me to utilizing totally different HTTP headers in my requests.
So as to add a header to a curl
request, use the -H
flag:
curl -X 'GET' 'https://nft.api.cx.metamask.io/collections?chainId=1' -H 'settle for: software/json' -H 'Model: 1'
You possibly can add a number of headers with a number of -H
makes use of. Header format is normally [key]: [value]
.
Create a CSS Flipping Animation
CSS animations are plenty of enjoyable; the great thing about them is that by means of many easy properties, you may create something from a sublime fade in to a WTF-Pixar-would-be-proud impact. One CSS impact someplace in between is the CSS flip impact, whereby there’s…
Create a Obtain Bundle Utilizing MooTools Moousture
Zohaib Sibt-e-Hassan just lately launched an important mouse gestures library for MooTools known as Moousture. Moousture lets you set off performance by shifting your mouse in specified customized patterns. Too illustrate Moousture’s worth, I’ve created a picture obtain builder utilizing Mooustures and PHP. The XHTML We offer…
MooTools Window Object Dumping
Ever wish to see the entire data saved inside the window property of your browser? This is your likelihood. The XHTML We’d like a wrapper DIV that we’ll think about a console. The CSS I like making this appear like a command-line console. The MooTools JavaScript Relying on what you’ve got loaded…
Supply hyperlink