You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setup a micronaut AzureHttpFunction to route incoming requests to controllers
annotate azure function with dataType=binary and send post with header Content-Type: application/octet-stream
Expected Behaviour
Incoming azure http trigger with marked as dataType=binary and content-type: application/octet-stream should be passed on to a controller accepting byte[] as @Body
Actual Behaviour
Failed because micronaut is trying to decode binary data as JSON.
Environment Information
Operating System: MacOS 10.15.5
**Micronaut Version: 2.4.2
JDK Version: OpenJDK 1.8
The text was updated successfully, but these errors were encountered:
pdaterao
changed the title
AzureHttpFunction: content-type application/octet-stream is not supoorted
AzureHttpFunction: content-type application/octet-stream is not supported
Apr 9, 2021
Steps to Reproduce
Expected Behaviour
Incoming azure http trigger with marked as dataType=binary and content-type: application/octet-stream should be passed on to a controller accepting byte[] as @Body
Actual Behaviour
Failed because micronaut is trying to decode binary data as JSON.
Environment Information
The text was updated successfully, but these errors were encountered: