YouJiacheng opened a new issue #12905:
URL: https://github.com/apache/pulsar/issues/12905


   **Describe the bug**
   In 
https://github.com/apache/pulsar/blob/master/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/FunctionsBase.java#L535
   MediaType is multipart/form-data, which is not expected since user won't 
upload file.
   
   **Expected behavior**
   MediaType should be application/json
   
   BTW, the document about it is really poor, I can't successfully send any 
putFunctionState REST API request!
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to