"error":400,"reason":"Bad Request","message":"No values provided for the request parameter '_action
2014-07-15 11:26
721 查看
我在linux下安装了Openam,然后调用其REST接口
[root@localhost ~]# curl --request POST \
> --header "X-OpenAM-Username: demo" --header "X-OpenAM-Password: changeit" \
> --header "Content-Type: application/json" --data "{}" \
> http://www.openam.example.com:8020/openam/json/authenticate
{"error":400,"reason":"Bad Request","message":"No values provided for the request parameter '_action'"}
我发现 我的openam版本是10.1的
看的dev-guide 是11.0 的
这就是出现这个问题原因
[root@localhost ~]# curl --request POST \
> --header "X-OpenAM-Username: demo" --header "X-OpenAM-Password: changeit" \
> --header "Content-Type: application/json" --data "{}" \
> http://www.openam.example.com:8020/openam/json/authenticate
{"error":400,"reason":"Bad Request","message":"No values provided for the request parameter '_action'"}
我发现 我的openam版本是10.1的
看的dev-guide 是11.0 的
这就是出现这个问题原因
相关文章推荐
- 警告: No configuration found for the specified action: 'ShowMessage' in namespace:
- Error message "there are no property pages for the selection"
- 警告: No configuration found for the specified action: '/myNameSpace/login.action' in names
- 警告: No configuration found for the specified action: '/myNameSpace/login.action' in names
- 警告: No configuration found for the specified action: 'loginPerson' in namespace: ''. Form action def
- 警告: No configuration found for the specified action: 'checkLogin' in namespace: ''.的解决办法
- Error message "there are no property pages for the selection"
- "No match" error while execute the excutable
- "A transport-level error has occurred when sending the request to the server"的解决办法
- "An extender can't be in a different UpdatePanel than the control it extends." error really needs debugging information ,错误
- "Warning: the CID values for both test machines are the same"
- 警告: No configuration found for the specified action: '/myNameSpace/login.action' in names
- 警告: No configuration found for the specified action: '/myNameSpace/login.action' in names
- The server method '' failed with the following error:" .... and no error description
- Server Error in '/' Application. Access to the Path Is Denied" error message appears
- No configuration found for the specified action: 'xxx/xxx.action' in namespace: ''. Form action def
- Using Timer to get history values from EDNA database, an error is prompted in the page : "Sys.WebForms.PageRequestManagerTimeout
- 警告: No configuration found for the specified action: '/myNameSpace/login.action' in names
- WCF error "No end point listening at net.pipe://server name:port/service name that could accept the message
- Error:'Please set up the forwarding function parameter "wipnp" in the workstation startup function!'