Skip to content

Instantly share code, notes, and snippets.

@bramses
Last active April 9, 2022 06:57
Show Gist options
  • Select an option

  • Save bramses/a554344595a3fbd5adde0e522c5cc41a to your computer and use it in GitHub Desktop.

Select an option

Save bramses/a554344595a3fbd5adde0e522c5cc41a to your computer and use it in GitHub Desktop.
using the obsidian request API as a GET
import { request } from 'obsidian';
const res = await request({url: 'https://stackoverflow.com'}) // url passed in as object -- GET request
console.log(res);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment