RestTemplate with Basic Auth in Spring 3.1

前端 未结 2 1235
一个人的身影
一个人的身影 2020-12-08 09:02

We were using RestTemplate with xml configuration in Spring 3.0 and it was working perfectly fine.



        
2条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-08 09:33

    I was able to finally get this working. Not sure whether it is optimal, as this the first solution which worked for me.

    `

    
    
    
      
    
         
         
        
            
                
                
            
        
    
    
    
    
        
        -1 
        
        
    
    
    
    
        xxx
        xxx
    
    
    
     
         
    
    
    
        
    
    
    
      
            
    
         
             
                
                 
                 
                
             
        
      `
    

提交回复
热议问题