调用REST web服务时出错

调用REST web服务时出错,rest,api,sugarcrm,sugarorm,Rest,Api,Sugarcrm,Sugarorm,我正在使用SUGARCRM 6.5*并使用以下结构发送post请求: host:http://test.newcrm.loc path:/service/v4_1/rest.php method:login input_type:JSON response_type:JSON rest_data:{"user_auth":{"user_name":"admin","password":"admin","version":"1"},"application_name":"SugarCRM REST

我正在使用SUGARCRM 6.5*并使用以下结构发送post请求:

host:http://test.newcrm.loc
path:/service/v4_1/rest.php
method:login
input_type:JSON
response_type:JSON
rest_data:{"user_auth":{"user_name":"admin","password":"admin","version":"1"},"application_name":"SugarCRM REST API"}
但是,我得到了以下错误:

{“user\u auth”:{“user\u name”:“admin”,“password”:“admin”,“version”:“1”},“application\u name”:“SugarCRM” RESTAPI“}


密码和用户名是正确的。我在网上搜索过,没有找到答案

我找到了答案。问题是我没有将密码设置为md5格式。因此,它返回了如上所述的错误消息