All Projects → pagekit → Vue Resource

pagekit / Vue Resource

Licence: mit
The HTTP client for Vue.js

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
HTML
75241 projects

Projects that are alternatives of or similar to Vue Resource

Piaf
Client library for HTTP/1.X / HTTP/2 written entirely in OCaml.
Stars: ✭ 86 (-99.15%)
Mutual labels:  http-client
Squbs
Akka Streams & Akka HTTP for Large-Scale Production Deployments
Stars: ✭ 1,365 (-86.49%)
Mutual labels:  http-client
H2c
headers 2 curl. Provided a set of HTTP request headers, output the curl command line for generating that set. Try the converter online at
Stars: ✭ 113 (-98.88%)
Mutual labels:  http-client
Fetcher Ts
Type-safe wrapper around Fetch API
Stars: ✭ 87 (-99.14%)
Mutual labels:  http-client
Php Fetch
A simple, type-safe, zero dependency port of the javascript fetch WebApi for PHP
Stars: ✭ 95 (-99.06%)
Mutual labels:  http-client
Spring Cloud Microservices Development
Spring Cloud Microservices Development.《Spring Cloud 微服务架构开发实战》
Stars: ✭ 106 (-98.95%)
Mutual labels:  http-client
Request Compose
Composable HTTP Client
Stars: ✭ 80 (-99.21%)
Mutual labels:  http-client
Vue Api Request
Control your API calls by using an amazing component which supports axios and vue-resource
Stars: ✭ 116 (-98.85%)
Mutual labels:  vue-resource
M Eleme
饿了么移动端单页应用
Stars: ✭ 99 (-99.02%)
Mutual labels:  vue-resource
Maxwell
Maxwell is an HTTP client which support for middleware and multiple adapters.
Stars: ✭ 111 (-98.9%)
Mutual labels:  http-client
Got
🌐 Human-friendly and powerful HTTP request library for Node.js
Stars: ✭ 10,620 (+5.15%)
Mutual labels:  http-client
Vue Boilerplate
Vue 2.0 boilerplate,based on webpack and es6,includes vuex,vue-router,vue-resource, vuelidate
Stars: ✭ 94 (-99.07%)
Mutual labels:  vue-resource
Snug
Write reusable web API interactions
Stars: ✭ 108 (-98.93%)
Mutual labels:  http-client
Xh
Friendly and fast tool for sending HTTP requests
Stars: ✭ 1,264 (-87.49%)
Mutual labels:  http-client
Vue Ruby China
使用Vue.js框架搭建的ruby china山寨版,集成vue-router+vuex等
Stars: ✭ 113 (-98.88%)
Mutual labels:  vue-resource
Http Client
A high-performance, high-stability, cross-platform HTTP client.
Stars: ✭ 86 (-99.15%)
Mutual labels:  http-client
Social
基于Vue的社区论坛项目
Stars: ✭ 102 (-98.99%)
Mutual labels:  vue-resource
Lua Resty Http
Lua HTTP client cosocket driver for OpenResty / ngx_lua.
Stars: ✭ 1,647 (-83.69%)
Mutual labels:  http-client
X7
x7-repo: simple orm based on spring jdbcTemplate + sqli; x7-reyc: httpClient or httpTemplate + resilience4j for k8s, plus distribution transaction
Stars: ✭ 1,573 (-84.43%)
Mutual labels:  http-client
Http
🌵 A simple http client wrapper.
Stars: ✭ 110 (-98.91%)
Mutual labels:  http-client

vue-resource Build Downloads jsdelivr Version License

The plugin for Vue.js provides services for making web requests and handle responses using a XMLHttpRequest or JSONP.

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)

Installation

You can install it via yarn or NPM.

$ yarn add vue-resource
$ npm install vue-resource

CDN

Available on jsdelivr, unpkg or cdnjs.

<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>

Example

{
  // GET /someUrl
  this.$http.get('/someUrl').then(response => {

    // get body data
    this.someData = response.body;

  }, response => {
    // error callback
  });
}

Documentation

Changelog

Details changes for each release are documented in the release notes.

Contribution

If you find a bug or want to contribute to the code or documentation, you can help by submitting an issue or a pull request.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].