Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use commas to separate header objects. #7040

Merged
merged 1 commit into from
Jan 6, 2021

Conversation

maliming
Copy link
Member

@maliming maliming commented Jan 6, 2021

Fix #7031

public Task Test([FromHeader] string mystr1, [FromHeader] string mystr2)
{
    return Task.CompletedTask;
}

(function(){
  abp.utils.createNamespace(window, 'volo.abp.aspNetCore.mvc.uI.bootstrap.demo.pages.test');

  volo.abp.aspNetCore.mvc.uI.bootstrap.demo.pages.test.test = function(mystr1, mystr2, ajaxParams) {
    return abp.ajax($.extend(true, {
      url: abp.appPath + 'api/app/test/test',
      type: 'POST',
      dataType: null,
      headers: {
        'mystr1': mystr1, 
        'mystr2': mystr2
      }
    }, ajaxParams));
  };

})();

@realLiangshiwei realLiangshiwei merged commit 4011228 into rel-4.1 Jan 6, 2021
@realLiangshiwei realLiangshiwei deleted the maliming/patch-header-4.1 branch January 6, 2021 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants