Project

General

Profile

Bug #10547

Updated by BenoƮt PECCATTE over 7 years ago

 
 <pre> 
 cat /tmp/xy 

 {"displayName": "Manage keys-values in file /tmp/manage-key-value", "parameters": {"section": {"sections": [{"section": {"sections": [{"section": {"name": "File", "vars": [{"var": {"name": "MANAGE_KEY_VALUE_FILEPATH", "value": "/tmp/manage-key-value"}}, {"var": {"name": "MANAGE_KEY_VALUE_KEY", "value": "key"}}, {"var": {"name": "MANAGE_KEY_VALUE_SEPARATOR", "value": "="}}, {"var": {"name": "MANAGE_KEY_VALUE_VALUE", "value": "value"}}]}}], "name": "File to manage"}}], "name": "sections"}}, "techniqueName": "manageKeyValueFile", "shortDescription": "", "techniqueVersion": "1.0", "longDescription": "Set key=value in this file"} 

 curl https://localhost:8381/rudder/api/latest/directives -H "X-API-Version: latest" -H "X-API-Token: rQkfnBmpqIjdreVh8FjaKmO4mv6at2xd" -k -X PUT -d @/tmp/xy -H "Content-Type: application/json" 

 -> 404: Could not extract values from request. 
 <pre> 

 There is no apache error log, no webapp log and one access log  
 <pre> 
 10.0.2.2 - - [31/Mar/2017:14:29:58 +0000] "PUT /rudder/api/latest/directives HTTP/1.1" 404 1850 "-" "curl/7.38.0" 
 </pre> 

 Note that the same request works on 4.0

Back