RESTful Console Application
RESTful Console Application
Introduction
Inspirited by RESTFul architecture, A console application targeted to same goals would use a match of RESTful definitions.
Design
For convenience, we name the imaginary console application as 'app'.
RESTful WebService objects
- Authentication
 Request header: Authentication
 Value: "Basic " or ":"
| Property | Description | 
|---|---|
| username | The user name in the Basic Authentication | 
| password | The user name in the Basic Authentication | 
For authentication methods OAuth and OAuth, we will consider then later.
- Headers 
 Headers are a list of header in key-value form.
 See.
- Method 
Using HTTP Methods for RESTful Services
| Method | Meaning | 
|---|---|
| POST | Create | 
| GET | Read | 
| PUT | Update/Replace | 
| DELETE | Delete | 
| PATCH | Update/Modify | 
- Error Code
| Code | Meaning | 
|---|---|
| 200 | OK | 
| 401 | Unauthorized | 
| 404 | Not Found | 
| 409 | Conflict if the resource already exists | 
| 500 | Internal Exception | 
- URL 
 http(s)- RESTful Console Application的更多相关文章- 如何将Console application的Program函数变成支持async的?
		如何将Console application的Program函数变成支持async的? class Program { static void Main(string[] args) { Task ... 
- win32 console application 如何修改图标?
		win32 console application ,不要看这名字高端大气上档次,让你摸不着头脑,其实他就是我们最先学习c语言那种黑色窗口的东西......话说他怎么修改图标呢?第一种方法是:右键-〉 ... 
- Hello World 之 控制台版本(Console Application)
		原文:Hello World 之 控制台版本(Console Application) 先来介绍下Hello, World "Hello, World"程序指的是只在计算机屏幕 ... 
- Using Spring.net in console application
		Download Spring.net in http://www.springframework.net/ Install Spring.NET.exe Create a console appli ... 
- Fix Visual Studio 2013 Razor CSHTML Intellisense in Class Library or Console Application
		https://mhusseini.wordpress.com/2015/02/05/fix-visual-studio-2013-razor-cshtml-intellisense-in-class ... 
- C# 控制台程序(Console Application )启动后隐藏
		背景 前段时间给项目编写了数据适配器,读取其他系统的数据后推送到MQ上,我们的系统通过订阅MQ的方式来获取.由于其他系统支持C#编程,且为了一时方便,选择了C#的控制台程序. 最近用户在使用中,总是不 ... 
- .NET 如何隐藏Console Application的窗口
		1)创建Console Application工程 2)修改Output type 为Windows Application即可 
- VS2015 create a C++ console application based on WinRT
		1. Enable /ZW 2. Disable /Gm 3. #using C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcpack ... 
- 用vs2008和vs2005创建win32 console application
		http://blog.sina.com.cn/s/blog_4900be890100s735.html 对于经常使用vc6.0的人来说,创建一个win32 console application很简 ... 
 - 随机推荐- kafka之zookeeper 节点
			1.zookeeper 节点 kafka 在 zookeeper 中的存储结构如下图所示: 
- spring4——IOC之基于注解的依赖注入(DI )
			spring容器对于Bean的创建和对象属性的依赖注入提供了注解的支持,让我们在开发中能够更加便捷的实现对象的创建和对象属性的依赖注入.一,对于Bean的创建spring容器提供了以下四个注解的支持: ... 
- js中的caller属性和callee属性
			应该用"属性"来称呼caller和callee,而不是方法. caller:返回调用当前函数的函数的引用.a调用b,则返回a(a是boss,因为a把b叫过去干活了): callee ... 
- Python入门之函数的嵌套/名称空间/作用域/函数对象/闭包函数
			本篇目录: 一.函数嵌套 二.函数名称空间与作用域 三.函数对象 四.闭包函数 ============================================================ ... 
- POJ-3617 Best Cow Line---字符串贪心
			题目链接: https://vjudge.net/problem/POJ-3617 题目大意: 每次都可以从字符串的首部或者尾部提取字母,使得最后的字符串的字典序最小. 思路: 贪心做即可~每次从上和 ... 
- anaconda的使用
			1. 查看已安装的库 pip list conda list 其中,pip list 只能查看库,而 conda list 则可以查看库以及库的版本 2. 安装或更新库 pip install scr ... 
- 字符串分割方法split()函数
			>>> data = '1000,小甲鱼,男'>>> data.split(',')['1000', '小甲鱼', '男'] str.split('以什么为标志进行 ... 
- 用JavaScript实现动态省市县三级联动
- 面向面试题和实际使用谈promise
			"金三银四,金九银十",都是要收获的季节.面对各种面试题,各种概念.原理都要去记,挺枯燥的.本文是面向面试题和实际使用谈一下Promise. Promise是什么? Promise ... 
- eclipse导包导不进来
			今天某个类转移了位置,结果导包导不进来: 解决方法:1.查看本项目中pom的依赖关系,查看是否引用了转移后的项目. 2.查看导不进来的报错类,查看类刚开始import的信息,如果有报错,删除后重新导包 ... 
 
- 如何将Console application的Program函数变成支持async的?
		
