Access Denied and 404 Error on trying to add a contact through API

alfonzo

Beginner
Dec 3, 2019
8
1
3
I'm trying to add new subscribers via API but its giving a 404 error, I've tried with Postman, via cURL request also tried with the 'try it out' facility at the Mumara help center (https://help1.mumara.com) but it didn't worked at all. What could possibly be the error? Or Am I missing something? Please help!
 

rehan

Beginner
Staff member
May 24, 2019
20
5
3
Hi,

It seems like your server is using PHP on CGI/FastCGI which is removing the authorization from the headers that's why it shows Access Denied or 404 error. There is a very simple way out for this issue, you just have to use API Token of your Mumara as a param while using API to add a contact. I have just tried on a test server having PHP running on CGI/FastCGI and it worked this way. Enclosed is a snapshot of Postman showing success status for your review.

Thankyou
 

Attachments

  • api-postman.png
    api-postman.png
    43.3 KB · Views: 9
  • Like
Reactions: wasif and alfonzo