Below is my code:
$http({ url: 'https://apistage.dealsignal.com/api/v0/company_watchlists/' + wishlist_id, method: 'PATCH', params: { list: { add_company_ids: ['61737'], name: 'My Wishlist' }, api_key: 'CtxY3Kpc7ZDL8VDfLmPt9wss' } }) .success(function(response) { console.log(response); }). error(function(response) { console.log(response); return false; });
I get the wrong request error, but the same request with the patch method works in the REST CLIENT on chrome.
javascript angularjs patch
Seema sharma
source share