0b399a3 Make the API endpoint to update project's options accept JSON

Authored and Committed by pingou 3 years ago
    Make the API endpoint to update project's options accept JSON
    
    Up until now that API endpoint only accepted HTTP arguments but
    it is sometime useful to send the update as a JSON blob instead
    of different arguments. This API endpoint will now support both
    approaches.
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
    
        
file modified
+16 -2