使用超薄框架的离子认证REST Web服务 [英] Ionic authentication REST web service using slim framework

查看:115
本文介绍了使用超薄框架的离子认证REST Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是使用Ionic框架的初学者,我正在尝试将我的应用程序与服务器连接以获取数据,因此我正在使用在Slim框架上开发的RESTfull Web服务(请求的响应) JSON)。 Web服务已经完成,我的问题现在我不知道如何在我的应用程序中实现它。

解决方案

我写的仅针对此用例的分步教程。你可以在这里查看: http://www.nikola-breznjak.com/blog/ionic/posting-data-from-ionic-app-to-php-server/



顺便说一下,这里也有类似的问题:从html到php服务器的离子应用程序数据


I'm a beginner on the use of the Ionic framework, I'm trying to connect my application with server to get datas, so that I'm using a RESTfull web service developed on the Slim framework(response of request with JSON). The web service is already done, my problem now I don't know how to implement it in my application.

解决方案

I wrote a step by step tutorial just for this use case. You can view it here: http://www.nikola-breznjak.com/blog/ionic/posting-data-from-ionic-app-to-php-server/.

Btw, a similar question has also already been asked here: Ionic app data from html to php server.

这篇关于使用超薄框架的离子认证REST Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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