How to parse an Angular POST request in WebApp2

前端 未结 3 638
臣服心动
臣服心动 2021-02-09 02:06

How do I get data from my Angular POST request in Google App Engine WebApp2? self.request.body returns a string, and self.request.get(key) returns not

3条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-09 02:46

    I always use self.request.get and able to get the data from GET/POST method, maybe you send the data in different format that only accessible by self.request.body?

提交回复
热议问题