0.0.19 • Published 2 years ago
badman-rest-starter v0.0.19
HttpClient MicroSoftware
Demo API:
export default class BadmanRest {
async main(){
let logger:Logger = (await SingletonObjectFactory2.initWithArgs<Logging>(Logging,['log4js_properties.json'])).logger(BadmanRest.name);
let rest:RestTemplate = await SingletonObjectFactory2.initWithArgs<RestTemplate>(RestTemplate,[new AxiosHttpClientRequestFactory()]);
// let response:HttpClientResponse = await rest.post<Object,Object>('http://192.168.1.27:6999/testA',JSON.stringify({ss:'sssss'}));
let response:HttpClientResponse = await rest.get<Object,Object>('http://192.168.1.27:6999/testB',{aaa:'sssss'});
logger.debug(response.body());
}
}
0.0.12
2 years ago
0.0.13
2 years ago
0.0.14
2 years ago
0.0.15
2 years ago
0.0.16
2 years ago
0.0.17
2 years ago
0.0.18
2 years ago
0.0.19
2 years ago
0.0.10
2 years ago
0.0.11
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago