html MivaScript - MvCall POST JSON

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html MivaScript - MvCall POST JSON相关的知识,希望对你有一定的参考价值。

<!-- FROM: http://extranet.miva.com/forums/archive/index.php/t-115262.html -->
<MvCAPTURE VARIABLE = "l.json">
{
	"contacts": [{
		"email": "something@example.com",
		"first_name": "John",
		"last_name": "Doe"
	}, {
		"email": "something@example.com",
		"first_name": "John",
		"last_name": "Doe"
	}, {
		"email": "something@example.com",
		"first_name": "John",
		"last_name": "Doe"
	}]
}
</MvCAPTURE>

<MvCALL
	METHOD = "RAW"
	ACTION = "https://some.example.com/api/"
	CONTENT-TYPE = "application/json"
	HEADERS = "{ 'Authorization: xxxxxxx' $ asciichar( 13 ) $ asciichar( 10 ) }"
	FIELDS = "l.json">
		<MvEVAL EXPR = "{ s.callvalue }">
</MvCALL>

以上是关于html MivaScript - MvCall POST JSON的主要内容,如果未能解决你的问题,请参考以下文章

xml Miva - MivaScript格式化日期时间戳

一天学会HTML 基础

Html.Partial 与 Html.RenderPartial 和 Html.Action 与 Html.RenderAction

html Html模板/ Html Boilerplate |标签HTML

html里怎么引用一个html的头部

html5与传统html区别