implement yang-patch
This commit is contained in:
parent
e0ee365958
commit
8d2fbf39de
12 changed files with 562 additions and 5 deletions
|
|
@ -331,7 +331,7 @@ api_data(clicon_handle h,
|
|||
retval = api_data_get(h, req, api_path, pcvec, pi, qvec, pretty, media_out, ds);
|
||||
}
|
||||
else if (strcmp(request_method, "POST")==0) {
|
||||
retval = api_data_post(h, req, api_path, pi, qvec, data, pretty, media_out, ds);
|
||||
retval = api_data_post(h, req, api_path, pi, qvec, data, pretty, restconf_content_type(h), media_out, ds);
|
||||
}
|
||||
else if (strcmp(request_method, "PUT")==0) {
|
||||
if (read_only)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue