简体   繁体   English

Android HTTP方法Rest API

[英]Android HTTP Methods Rest API

I am working on a project on android and I want to implement the functionality of my application on an API written in Node JS and use it with HTTP requests. 我正在Android上的一个项目上工作,我想在用Node JS编写的API上实现我的应用程序的功能,并将其与HTTP请求一起使用。 I am searching for an (open source) HTTP API (CRUD System) that I can use in my android application in order to make HTTP requests to my API (GET, POST, PUT, DELETE). 我正在寻找一个(开放源代码)HTTP API(CRUD系统),我可以在我的android应用程序中使用它以便向我的API发出HTTP请求(GET,POST,PUT,DELETE)。 What are you suggesting me? 你在建议我什么? Which are the best solutions? 哪些是最佳解决方案?

Thank you 谢谢

I recommend OSS "Fuel". 我推荐OSS“燃料”。 https://github.com/kittinunf/Fuel https://github.com/kittinunf/Fuel

I created a sample application of API request using Fuel. 我使用Fuel创建了API请求的示例应用程序。 https://github.com/y-okudera/FuelSampleApp https://github.com/y-okudera/FuelSampleApp

I hope this will be of some help. 我希望这会有所帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM