You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2019/07/18 14:43:36 UTC

[GitHub] [trafficcontrol] hbeatty opened a new issue #3738: /api/1.3/profiles/name/{{ profileName }}/parameters only accepts 1/0 for the secure field

hbeatty opened a new issue #3738: /api/1.3/profiles/name/{{ profileName }}/parameters only accepts 1/0 for the secure field
URL: https://github.com/apache/trafficcontrol/issues/3738
 
 
   When trying to POST to the above API with `true/false` I get the following error: `parse error: decoding: json: cannot unmarshal bool into Go struct field ProfileParameterByNamePost.secure of type int`. However, the `/api/1.3/profiles/{{ item.profileId }}` API outputs `true/false` for the `secure` field.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services