In opsdb for the table web_site_api, please change the unique constraint to have the fields (web_site_id, name, web_protocol_action_id) instead of (web_site_id, name). This will allow multiple entries in web_site_api table for one API point with different web_protocol_action (ex: GET + POST for the api endpoint /api/vendor_order).
Added handlers to accept POST + PUT params and will store the params in udn_data["param"]. For POST + PUT, the params are expected to be in the body of the request. JSON could also be sent in a post request like before.
In opsdb for the table web_site_api, please change the unique constraint to have the fields (web_site_id, name, web_protocol_action_id) instead of (web_site_id, name). This will allow multiple entries in web_site_api table for one API point with different web_protocol_action (ex: GET + POST for the api endpoint /api/vendor_order).
Added handlers to accept POST + PUT params and will store the params in udn_data["param"]. For POST + PUT, the params are expected to be in the body of the request. JSON could also be sent in a post request like before.