add response for reply of backend call

added response ready if return array of index's and working on adding
the dynamic path so that the call can be done without that specific url