swagger-aem icon indicating copy to clipboard operation
swagger-aem copied to clipboard

POST requests without a body are sent with multipart/form-data Content-Type and also without boundary, causing AEM to break

Open henrykuijpers opened this issue 5 years ago • 2 comments

It looks like the issue we're having here: https://github.com/shinesolutions/puppet-aem-resources/issues/82#issuecomment-600625848 needs to be solved in Swagger-AEM, WDYT @mbloch1986 @cliffano ?

henrykuijpers avatar Mar 18 '20 13:03 henrykuijpers

FYI: This issue is happening with AEM 6.5.2.

henrykuijpers avatar Mar 18 '20 14:03 henrykuijpers

This is the API call ~~https://github.com/shinesolutions/swagger-aem/blob/master/conf/api.yml#L947~~

https://github.com/shinesolutions/swagger-aem/blob/master/conf/api.yml#L102-L138

And as we can see all API calls via postNode are multipart/form-data

mbloch1986 avatar Apr 17 '20 12:04 mbloch1986