I'm working on a KRL module for S3. Each request has to be signed, and the signature covers a Date object which has to be within 15 minutes of the current time on AWS. The signature is sent as an 'Authorization' HTTP header.
If I set it up as a datasource I would get the XML > JSON for free. Unfortunately you can't set headers for a datasource request.
I tried content.as('json') but that converts JSON in a string to 开发者_如何学Cactual Javascript objects.
k=xml_string.as('json') // returns the xml_string unchanged
How can I convert the returned XML to JSON?
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论