请求方式
<h2><code>GET</code></h2>
<p><code>Query String Parameters</code></p>
<p><code>GET</code> 请求时,参数以<code>url string</code>的形式进行传递,即<code>?</code>后的字符串为其请求参数,并以<code>&amp;</code>符号作为分隔符:</p>
<pre><code>GET http://localhost:8080/member/list?size=10&amp;appId=xxxxxx</code></pre>
<h2><code>POST</code></h2>
<p><code>Content-Type: application/json</code></p>
<p><code>POST</code> 请求时,请求体数据类型为<code>JSON</code>:</p>
<pre><code>POST https://gateway-partner.nm-serv.cn/promotion/add
Content-Type: application/json
{
&quot;partnerId&quot;: xxxxxx,
&quot;promotionName&quot;: &quot;测试&quot;,
&quot;promotionType&quot;: 1,
&quot;contentId&quot;: xxxxxx,
&quot;contentType&quot;: 2,
&quot;adBackId&quot;: xxxxxx
}</code></pre>