Angular 2 http post params and body

前端 未结 5 2037
暖寄归人
暖寄归人 2021-02-02 16:32

I\'m trying to do an api call from my angular app. What I want to do is send a post request to the api with a command param. I have done a lot of server side testing as well as

5条回答
  •  野的像风
    2021-02-02 16:51

    Seems like you use Angular 4.3 version, I also faced with same problem. Use Angular 4.0.1 and post with code by @trichetricheand and it will work. I am also not sure how to solve it on Angular 4.3 :S

提交回复
热议问题