What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-01-31 03:07:02
ajax mdn
var formData = {name:"John", surname:"Doe", age:"31"}; //Array $.ajax({ url : "https://example.com/rest/getData", // Url of backend (can be python, php, etc..) type: "POST", // data type (can be ... Add solution -
Javascript 2022-01-28 07:17:19
awaitmessages discord.js v12
// The provided set allows for responder error with an array of // answers permitted. Ideally, it would be best to place this in // a JSON file, which you can call quiz.json for simplicity. const quiz = require('./quiz.json'); const item = quiz[Math.flo... Add solution -
Other 2022-01-28 06:50:48
how to use excel in postman
Postman support data driven test with external file in csv, json format. And if we need to use excel we can convert to csv file since postman supports. I use mockaroo.com to generate randomized mock data. It supports generating CSV, JSON, SQL, Excel formats. Add solution -
Python 2022-01-26 13:00:44
How to use open weather weather api for pytho
# importing requests and json import requests, json # base URL BASE_URL = "https://api.openweathermap.org/data/2.5/weather?" # City Name CITY = "Hyderabad" # API key API_KEY = "Your API Key" # upadting the URL URL = BASE_URL ... Add solution -
Other 2022-01-22 01:35:36
pojo api testing
POJO (Plain Old Java Object), (usually used to represent data) The POJO Class usually have encapsulated fields : optionally constructors , toString Serialization: POJO to JSON (or string, byte array) when we MAP a Java object to API JSON format (Java ... Add solution -
Other 2021-11-21 23:43:14
jenkins cucumber report
● Jenkins has Cucumber report plugin that can generate User Friendly report ● Only data Cucumber report plugin needs is Json format report ● Once Cucumber report is generated, send the URL of the report to anyone who asks for the report ● All the history... Add solution -
Javascript 2021-11-21 06:34:17
javascript websocket example code
/* * Link starts with ws:// or wss:// * ws:// for non ssl * wss:// for ssl */ let ws = new WebSocket('LINK_HERE') ws.addEventListener('open', function (event) { //WebSocket Connected console.log('connected') }) ws.addEventListener('messag... Add solution -
Javascript 2021-11-16 19:39:26
Django application with User and ActivityPeriod models, write a custom management command to populate the database with some dummy data, and design an API to serve that data in the json format given above.
Django application with User and ActivityPeriod models, write a custom management command to populate the database with some dummy data, and design an API to serve that data in the json format given above. Add solution -
Other 2021-11-16 16:32:10
code snippet
Hit > shift + command + p and type snippets Select Preferences: Open User Snippets Choose the language type for which you want to add the custom snippet vscode has comments to explain on how to add a snippet, as described on :> vsdoc Lets say, we wa... Add solution