API 상품보기
- End Point 기본그룹
- GET중국어 지도 API
- GET중국어 명칭 검색 API
GET/API/lang/tpLangApi.js
중국어 지도 API - 중국어지도
curl –i - X GET
- H x-waple-authorization : 고객 키
// console 에서 직접 입력하여 사용 가능합니다.
HttpResponse response = Unirest.GET ("http://api.apistore.co.kr/chinamap//API/lang/tpLangApi.js")
.header("x-waple-authorization", "고객 키")
.field("clientId", "kth")
.field("lang", "chg")
.asJson();
// These code snippets use an open-source library.
HttpResponse response = Unirest.GET ("http://api.apistore.co.kr/chinamap//API/lang/tpLangApi.js")
.header("x-waple-authorization", "고객 키")
.field("clientId", "kth")
.field("lang", "chg")
.end(function (result) {
console.log(result.status, result.headers, result.body);
});
response = Unirest.GET "http://api.apistore.co.kr/chinamap//API/lang/tpLangApi.js",
headers:{:"x-waple-authorization" => "고객 키"},
parameters:{
:clientId => "kth" ,
:lang => "chg" }
org.springframework.web.filter.ShallowEtagHeaderFilter$ShallowEtagResponseWrapper@191ccb15 = Unirest::GET ("http://api.apistore.co.kr/chinamap//API/lang/tpLangApi.js",
array(
"x-waple-authorization" => "고객 키"
),
array(
clientId => "kth" ,
lang => "chg" )
);
response = Unirest.GET ("http://api.apistore.co.kr/chinamap//API/lang/tpLangApi.js",
headers={"x-waple-authorization": "고객 키"},
params={
clientId:"kth" ,
lang:"chg" }
)
NSDictionary *headers = @{@"x-waple-authorization": @"고객 키"};
NSDictionary *parameters = @{
@clientId: @"kth",
@lang: @"chg"};
UNIUrlConnection *asyncConnection = [[UNIRest GET :^(UNISimpleRequest *request) {
[request setUrl:@"http://api.apistore.co.kr/chinamap//API/lang/tpLangApi.js"];
[request setHeaders:headers];
[request setParameters:parameters];
}] asJsonAsync:^(UNIHTTPJsonResponse *response, NSError *error) {
NSInteger code = response.code;
NSDictionary *responseHeaders = response.headers;
UNIJsonNode *body = response.body;
NSData *rawBody = response.rawBody;
}];
Task> response = Unirest.GET ("http://api.apistore.co.kr/chinamap//API/lang/tpLangApi.js")
.header("x-waple-authorization", "고객 키")
.field(clientId, "kth")
.field(lang, "chg")
.asJson();
이 code snippet은 unirest.의 Open source Client Library를 사용하고 있습니다.
더 자세한 정보가 필요할 경우 unirest.io 페이지를 방문하세요.
더 자세한 정보가 필요할 경우 unirest.io 페이지를 방문하세요.