在使用邮递员工具时,请求工作正常。POST :https://transport-stg.transperfect.com/api/files/upload?file = test.txt (this is file to be uploaded,able to select file location in Postman)
这是在邮递员工具中所期望的。.addBinaryBody("srcUploader",file,Content
我定义了这个GatewayFilter:我想要实现的是避免客户端提供从授权服务器获取访问令牌的凭据。客户端发送带有用户凭据(用户名/密码)的POST请求,网关添加所有补充信息,如scope、client_id、grant_type等。在将请求转发到授权服务器之前。ServerHttpRequest request = exchange.getRequest();
Server