Imported Google Group message. Original thread at: Redirecting to Google Groups Import Date: 2016-01-19 21:07:23 +0000.
Sender:Jayadatta Vallabhaneni
.
Date:Thursday, 12 March 2015 22:20:50 UTC.
HI,
I am trying to install and play with the latest version. Noticed that the header addition under Endpoint Designer is not working. I am not able to view/receive the newly added headers on the target server. Could you please check and let me know if i am missing anything? I was trying to add “ClientId” : “10.10.10.10” in the header going to the target. Below is my api xml.
/* 0 */
{
“_id” : ObjectId(“5501f74e83d64f081d000001”),
“name” : “testDetails”,
“api_id” : “155ec446ec894114768152478cf4e50f”,
“org_id” : “550130e583d64f0f43000001”,
“use_keyless” : true,
“use_oauth2” : false,
“oauth_meta” : {
“allowed_access_types” : [],
“allowed_authorize_types” : [],
“auth_login_redirect” : “”
},
“auth” : {
“auth_header_name” : “”
},
“use_basic_auth” : false,
“notifications” : {
“shared_secret” : “”,
“oauth_on_keychange_url” : “”
},
“enable_signature_checking” : false,
“hmac_allowed_clock_skew” : -1.0,
“definition” : {
“location” : “header”,
“key” : “x-api-version”
},
“version_data” : {
“not_versioned” : true,
“versions” : {
“RGVmYXVsdA==” : {
“name” : “RGVmYXVsdA==”,
“expires” : “”,
“paths” : {
“ignored” : [],
“white_list” : [],
“black_list” : []
},
“use_extended_paths” : true,
“extended_paths” : {
“ignored” : [],
“white_list” : [],
“black_list” : [],
“cache” : [],
“transform” : [],
“transform_headers” : [{
“delete_headers” : [],
“add_headers” : {
“ClientId” : “10.10.10.10”
},
“path” : “/osb/getDetailPS_RT”,
“method” : “GET”
}]
}
}
}
},
“proxy” : {
“listen_path” : “/155ec446ec894114768152478cf4e50f/”,
“target_url” : “http://localhost:8011/”,
“strip_listen_path” : true
},
“custom_middleware” : {
“pre” : [],
“post” : []
},
“cache_options” : {
“cache_timeout” : NumberLong(60),
“enable_cache” : false,
“cache_all_safe_requests” : false
},
“session_lifetime” : NumberLong(0),
“active” : true,
“auth_provider” : {
“name” : “”,
“storage_engine” : “”,
“meta” : { }
},
“session_provider” : {
“name” : “”,
“storage_engine” : “”,
“meta” : null
},
“event_handlers” : {
“events” : { }
},
“enable_batch_request_support” : false,
“enable_ip_whitelisting” : false,
“allowed_ips” : [],
“dont_set_quota_on_create” : false,
“expire_analytics_after” : NumberLong(0),
“hook_references” : []
}