ocket8888 opened a new issue #3093: Golang implementation of 
/api/1.1/parameters POST can't handle arrays
URL: https://github.com/apache/trafficcontrol/issues/3093
 
 
   The route at `/api/1.1/parameters` in Perl used to accept either a single 
parameter e.g.
   ```json
   {
        "name": "test",
        "value": "quest",
        "configFile": "records.config",
        "secure": false
   }
   ```
   or an array of such objects e.g.
   ```json
   [
        {
                "name": "test",
                "value": "quest",
                "configFile": "records.config",
                "secure": false
        },
        {
                "name": "foo",
                "value": "bar",
                "configFile": "records.config",
                "secure": false
        }
   ]
   ```
   but the ability to handle the second case was lost in the translation to Go. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to