json数据post

admin2021-02-06  2.8K+

import console;
import inet.http;

var http = inet.http();
http.addHeaders = {
	["Content-Type"] = 'application/json'
}
var html,err,errCode = http.post("http://eu.httpbin.org/post"
    ,{a=1,b=2}); 
http.close();

console.log( html )
console.pause()
转载请注明原文地址: http://aardio.net/read-150.html
最新回复(0)
网络应用
网络应用