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. #7039

Closed
wants to merge 1 commit into from
Closed

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));
  };

})();

@maliming maliming changed the base branch from dev to rel-4.1 January 6, 2021 02:49
@maliming maliming changed the base branch from rel-4.1 to dev January 6, 2021 02:49
@maliming
Copy link
Member Author

maliming commented Jan 6, 2021

Move to 4.1 #7040

@maliming maliming closed this Jan 6, 2021
@maliming maliming deleted the maliming/patch-header branch January 6, 2021 02:54
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.

ProxyScriptingJsFuncHelper CreateJsObjectLiteral missing comma at end of string (when multiple parameters)
1 participant