Unverified Commit aaec8a7a authored by liuzheng712's avatar liuzheng712

Merge branch 'dev'

parents 1e55448a 5066e0a5
......@@ -71,9 +71,8 @@ export class HttpService {
}
get_guacamole_token(username: string, assetID: string, systemUserID: string) {
return this.http.post('/guacamole/api/tokens', {
username: username, password: 'zheng', asset_id:
assetID, system_user_id: systemUserID
return this.http.post('/guacamole/api/tokens?asset_id=' + assetID + '&system_user_id=' + systemUserID, {
username: username, password: 'zheng'
}, {headers: new HttpHeaders().set('Content-Type', 'application/x-www-form-urlencoded')});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment