Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我编写了一个烧瓶 api,它使用 request.form 接收发布请求参数。API 在邮递员中表现完美,但在 axios 请求中失败。
你可以试试这个方法,希望对你有帮助。
axios({ method: 'post', url: '/user/12345', data: { firstName: 'Fred', lastName: 'Flintstone' } });