Skip to content

Instantly share code, notes, and snippets.

@allanferreira
Last active April 15, 2017 18:07
Show Gist options
  • Select an option

  • Save allanferreira/ccdc0f3ab8bbdce955a790c1653ed658 to your computer and use it in GitHub Desktop.

Select an option

Save allanferreira/ccdc0f3ab8bbdce955a790c1653ed658 to your computer and use it in GitHub Desktop.
//Sua API
let postsApi = 'http://meusite.com/wp-json/wp/v2/posts'
//Jovemnerd
//let postsApi = 'https://jovemnerd.com.br/wp-json/wp/v2/posts'
//B9
//let postsApi = 'https://www.b9.com.br/wp-json/wp/v2/posts/'
let posts = Http
posts.inicia(postsApi)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment