vue-resource is a plugin for Vue.js which provides services for making web requests and handle responses using a XMLHttpRequest or JSONP. You can install it via yarn or NPM. Available on jsdelivr, unpkg or cdnjs. Typescript for vue-resource should work out of the box since the type definition files are included within the npm package. The http service can be used globally Vue.http or in a Vue instance this.$http. A Vue instance provides the this.$http service which can send HTTP requests. A request method call returns a Promise that resolves to the response. Also the Vue instance will be automatically bound to this in all function callbacks. Shortcut methods are available for all request types. These methods work globally or in a Vue instance. The Recipes provide code examples to common use-cases. If you want to share your recipe feel free to send a pull request.

Features

  • Supports the Promise API and URI Templates
  • Supports interceptors for request and response
  • Supports latest Firefox, Chrome, Safari, Opera and IE9+
  • Supports Vue 1.0 & Vue 2.0
  • Compact size 14KB (5.3KB gzipped)
  • You can install it via yarn or NPM

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow vue-resource

vue-resource Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of vue-resource!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript HTTP Servers, JavaScript HTTP Clients

Registered

2021-06-07