swagger-aem
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
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 ?
FYI: This issue is happening with AEM 6.5.2.
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