Box API response header changes impact
回答済みCurrently, I'm reading the field as follows (in Java) in all the applications:
JSONObject another_json_object = (JSONObject)the_json_array.get(i);
String etagID= (String) another_json_object.get("etag");
Now, how do I search for the field "etag"
while ignoring the case. I'm using JSON Simple libraries.
-
正式なコメント
Hi Chirashree_Pal,
Given that code, you won't be immediately impacted by the change. Although we're stating that headers should be treated as "case insensitive" the change going out will start by lowercasing all headers. That doesn't mean that this will be how it always is going for, hence why we're recommending handling headers in a case-insensitive manner.
I wrote up this blog post that goes through the mechanics of a sample solution. It's showing it in Node, but should give you the details needed to make the change.
- Jon
コメントアクション
サインインしてコメントを残してください。
コメント
1件のコメント