json数据post

admin2021-02-06  278

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()
转载请注明原文地址: https://www.aardio.net/read-150.html
最新回复(0)