Skip to content

修复 post请求并格式化参数#5

Open
CutiePanther wants to merge 1 commit intohatedMe:masterfrom
CutiePanther:master
Open

修复 post请求并格式化参数#5
CutiePanther wants to merge 1 commit intohatedMe:masterfrom
CutiePanther:master

Conversation

@CutiePanther
Copy link

  1. 修复 issues#3 :post请求失败问题
  2. 格式化参数:
wxRequest.post('/user', {
    data :{
        firstname : 'firstname',
        lastname : 'lastname'
    }
})

改为:

wxRequest.post('/user', {
        firstname : 'firstname',
        lastname : 'lastname'
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant