this.get("http://127.0.0.1:5000/v1/todos", () => ({ id: 1, records: [ { id: 1, name: "Walk the dog" }, { id: 2, name: "Take out the trash" }, { id: 3, name: "Work out" }, ], }))
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter