
curl
is a type of nice utilities that is been round seemingly eternally and has limitless use circumstances. As of late I discover myself utilizing curl
to batch obtain recordsdata and take a look at APIs. Generally 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: utility/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]
.
LightFace: Fb Lightbox for MooTools
One of many net parts I’ve at all times liked has been Fb’s modal dialog. This “lightbox” is not like others: no darkish overlay, no obnoxious animating to dimension, and it does not attempt to do “an excessive amount of.” With Fb’s dialog in thoughts, I’ve created LightFace: a Fb lightbox…
Being a Dev Dad
I get requested a great deal of questions every single day however I am at all times shocked that they are hardly ever questions on code and even tech — lots of the questions I get are extra about non-dev stuff like what my workplace is like, what software program I take advantage of, and oftentimes…
Reverse Component Order with CSS Flexbox
CSS is changing into an increasing number of highly effective as of late, virtually to the purpose the place the order of HTML components output to the web page now not issues from a show standpoint — CSS allows you to accomplish that a lot that just about any structure, massive or small, is feasible. Semantics…