shinesolutions / swagger-aem

OpenAPI specification for Adobe Experience Manager (AEM) API
Apache License 2.0
37 stars 22 forks source link

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

Open henrykuijpers opened 4 years ago

henrykuijpers commented 4 years ago

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 commented 4 years ago

FYI: This issue is happening with AEM 6.5.2.

mbloch1986 commented 4 years ago

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