Java code invoking a REST API for a POST request works fine and returns 200. However, when the java code is packaged as a jar with all dependencies and invokes the same API, it returns a 400. The REST APIs are hosted on Oracle Weblogic which is part of Oracle SOA and OSB. Has anyone encountered this issue? Any pointers highly appreciated. Thanks
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML
2.0//EN"><html><head><title>400 Bad Request</title></head><body><h1>Bad Request</h1><p>Your browser sent a request that this server could not understand.<br /></p></body></html>