when i call the rest api server responded with status 403
-
I used this plugin with memberpress plugin.I am trying to call api to create members but it responded with following error “Failed to load resource: the server responded with a status of 403 (Forbidden)”
My api call :
jQuery.ajax({ url:'https://160.114.10.87:85/project1/wp-json/mp/v1/members', headers: { "Authorization": "Basic 232dfdsfdsfs" }, data:{email:'[email protected]',username:'abc'}, type:"post", success: function(data){ alert(data); }, error: function(){ alert('failure'); } });
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘when i call the rest api server responded with status 403’ is closed to new replies.