Optimize HTTP requests for setting favorite