Hi,
in react code for list API call, no JSON is used
export function getFileContent(path) {
return fetch(config.url_get_content + '?path=' + (encodeURIComponent(path) || '/'));
};
While in Angular json is used
export function getFileContent(path) {
return fetch(config.url_get_content + '?path=' + (encodeURIComponent(path) || '/'));
};
In django this function is used:
def list_(request):
return HttpResponse(json.dumps(fm.list(json.loads(request.body.decode('utf-8')))))
which accepts json.
I'm using it as branch master. Do I have to use another branch?
Thank you
Hi,
in react code for list API call, no JSON is used
While in Angular json is used
In django this function is used:
which accepts json.
I'm using it as branch master. Do I have to use another branch?
Thank you