Polymer RESTful CRUD应用程序 [英] Polymer RESTful CRUD app

查看:65
本文介绍了Polymer RESTful CRUD应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用并产生JSON的Users资源. 我想在Polymer中进行RESTful调用(GET,POST,PUT,DELETE).

I have a Users resource that consumes and produces JSON. I want to make RESTful calls (GET,POST,PUT,DELETE) in Polymer.

任何示例应用程序或资源链接.

Any example app or link to resources.

推荐答案

我为开放源代码内部项目创建了此Polymer应用程序:

I made this Polymer app for an Open Source domotic project:

https://github.com/NikZar/nautes-freedomotic-dashboard

您可以看看我的: fd-rest-element-service.html ,看看它如何在应用程序中使用.

You can take a look at my: fd-rest-element-service.html and see how it gets used in the application.

我希望这会有所帮助:)

I hope this helps :)

这篇关于Polymer RESTful CRUD应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆