“faux générateur JSON” Réponses codées

Données factices JSON

fetch('https://jsonplaceholder.typicode.com/todos')
  .then(response => response.json())
  .then(json => console.log(json))
Frightened Frog

générer des données de test dans l'API

For API Part: I use "https://www.mockaroo.com/" ==> 
generates multiple format (CSV, JSON, XML, etc)
Obedient Ocelot

faux générateur JSON

{
		"requestCount": "number", 
		"requests": { "requsetId": "string",
			"icon": "string",
			"service": {"id": "string","nameAr": "string","nameEn": "string"
			},							
			"requestor": {"id": "string","nameAr": "string","nameEn": "string"
			}
			,           			
			"requestDate": "date","step": "string", "summary": "string", "isRead": "boolean",
			"stepOwner": {"id": "string","nameAr": "string","nameEn": "string","position": "string"
			}, 
			"d": 0, 
			"resultStatus": 0, 
			"actions": [{"id": "string","nameEn": "string","nameAr": "string",
				"actionUrl": "string","isMainAction": "boolean","isQuickAction": "boolean"
			}],
			"stepHistory": [{"step": "string",
				"stepOwner": {"id": "string","nameAr": "string","nameEn": "string","position": "string"
				},							
				"actionDate": "date","note": "string", 				
				"actions": {		"id": "string","nameEn": "string","nameAr": "string"}
			}]
			
		}
	}
Eager Earthworm

Réponses similaires à “faux générateur JSON”

Questions similaires à “faux générateur JSON”

Plus de réponses similaires à “faux générateur JSON” dans JavaScript

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code