Need to convert below curl command into angular http request. command looks similar to below command.
" curl -X POST --data 'username=myusername&password=mypassword' -i https://myurl.com/j_spring_security_check "
In https what I suppose to use, GET or POST. Can any one help in this.
It could be a service that has a
postMethodmethod that takes two arguments username and password just like this :Then you can use your service as following :