AnsweredAssumed Answered

Geocoding Api only fails in Java code

Question asked by qinlei515 on Jun 27, 2019
Latest reply on Aug 12, 2019 by KKramer-esristaff

The Rest URL I'm using is ""records":%5B%7B"attributes":%7B"OBJECTID":1,"SingleLine":"27488 Stanford Ave, Bowden, North Dakota"%7D%7D%5D%7D&sourceCountry=USA&f=pjson&token=<myToken>". It works perfect in browser and Postman. However while I tried it in Java code, it always give me HTTP 400 code, without any additional information. I've checked request HTTP headers and compared, I don't see anything wrong in Java. 


Does anybody used this Api in Java and has some idea about it?


Thank you,