What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-27 15:10:02
vaccine api in india
pincode = 560066 date = 20-06-2021 api_url = "https://cdn-api.co-vin.in/api/v2/appointment/sessions/public/findByPin?pincode=" + str(pincode) + "&date=" + str(date) #url = https://cdn-api.co-vin.in/api/v2/appointment/sessions/publi... Add solution -
Javascript 2022-03-19 13:15:08
jquery change query string parameter value
var currentUrl = 'http://www.example.com/hello.png?w=100&h=100&bg=white'; var url = new URL(currentUrl); url.searchParams.set("w", "200"); // setting your param var newUrl = url.href; console.log(newUrl); Add solution -
Other 2022-03-06 11:55:22
"https://api.blockcypher.com/v1/eth/main/blocks/b83ac85e42af87b8100bb1d653288e7649feb4b55fa6a1f9505c56e8f8b12025?txstart=20&limit=20"
Copy to Clipboard# Since this is a new address, I need to fund underlying bcy original_address # to enable issuance transaction (otherwise no money available for mining fees) # Going to use a faucet thanks to testnet curl -d '{"address": "... Add solution -
PHP 2022-03-02 19:45:04
get_rss_feed php
<?php $url = "https://www.youtube.com/feeds/videos.xml?channel_id=UCbMi18KmKXRb79716KgnVOA"; $xml = simplexml_load_file($url) or die("Error: Cannot create object"); //echo "number of entries: " . count($xml->entry) . &... Add solution -
Python 2022-03-01 09:40:02
download any file from link colab
import requests file_url = "http://1.droppdf.com/files/5iHzx/automate-the-boring-stuff-with-python-2015-.pdf" r = requests.get(file_url, stream = True) with open("/content/gdrive/My Drive/python.pdf", "wb") as file: fo... Add solution -
CSS 2022-02-26 10:25:07
wrap DOM elements in SVG using before and after
<style> /* will place two SVG elements before and after div elements SVG must be URL encoded */ div:after{ left:20px; margin:0 -100% 0 0; display: inline-block; height: 10px; content: url(data:image/svg+xml,%0A%3Csvg%20xmlns%3D%22http... Add solution -
Javascript 2022-02-24 19:55:02
how to send json in js with post
// Sending and receiving data in JSON format using POST method // var xhr = new XMLHttpRequest(); var url = "url"; xhr.open("POST", url, true); xhr.setRequestHeader("Content-Type", "application/json"); xhr.onreadyst... Add solution -
Other 2022-02-23 01:50:07
cancel payment link in razorpay API reference
Request ResponseCopycurl -u <YOUR_KEY_ID>:<YOUR_KEY_SECRET> \ -X POST https://api.razorpay.com/v1/invoices/inv_ColZh68L2JmHsB/cancel \ -H 'Content-type: application/json' \ Copy{ "id": "inv_ColZh68L2JmHsB", "e... Add solution -
CSS 2022-02-20 13:10:06
css backdrop filter
/* Keyword value */ backdrop-filter: none; /* URL to SVG filter */ backdrop-filter: url(commonfilters.svg#filter); /* <filter-function> values */ backdrop-filter: blur(2px); backdrop-filter: brightness(60%); backdrop-filter: contrast(40%); backdro... Add solution