You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/09/02 05:33:47 UTC

[GitHub] [apisix] tokers commented on pull request #4819: feat: xml-json-conversion plugin convert xml data from request body to json response, and vice versa

tokers commented on pull request #4819:
URL: https://github.com/apache/apisix/pull/4819#issuecomment-911206087


   > > We may let users to specify the input and output type.
   > 
   > Do you have any good suggestions? And We need users to specify "Content-Type" and "Accept" of request headers in this plugin
   > https://github.com/mangoGoForward/apisix/blob/df782db7905cfe983188e53e2f645db48d956eed/apisix/plugins/xml-json-conversion.lua#L91
   
   Such as:
   
   ```json
   {
     "rules": [
        {
           "from": "json",
           "to": "yaml"
        },
        {
           "from": "yaml",
            "to": "json"
        }
     ]
   }
   ```


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org