SOLVED

Re: 403 Forbidden

Go to solution
Ashwini_Hejmad1
Level 2

403 Forbidden

Hello

I am trying to create a lead using the following information

https://mktorest.com/POST/rest/v1/leads.json?access_token=xxxxxxxxxxxxxxxxxxxxxxxxxxx

Payload

   "action":"createOnly",

   "lookupField":"email",

   "input":[ 

      { 

         "email":"kjashaedd-1@klooblept.com",

         "firstName":"Kataldar-1",

         "postalCode":"04828"

      }

   ]

}

But when i execute the request. I get the following error

<html> <head><title>403 Forbidden</title></head> <body bgcolor="white"> <center><h1>403 Forbidden</h1></center> <hr><center>nginx</center> </body> </html>

Please advise

Ashwini

1 ACCEPTED SOLUTION

Accepted Solutions
Ashwini_Hejmad1
Level 2

Re: 403 Forbidden

Thanks. The issue was resolved

View solution in original post

5 REPLIES 5
SanfordWhiteman
Level 10 - Community Moderator

Re: 403 Forbidden

That's not the correct URL. You should reread the docs. REST URLs begin with the Munchkin ID and do not contain the word POST (that's the HTTP method, not in the path).

Why are you using the API exactly, and from what language?

Ashwini_Hejmad1
Level 2

Re: 403 Forbidden

Thanks. The issue was resolved

SanfordWhiteman
Level 10 - Community Moderator

Re: 403 Forbidden

Ok, please mark my answer as Correct.

SanfordWhiteman
Level 10 - Community Moderator

Re: 403 Forbidden

I kind of meant my answer. Anyway....

Ashwini_Hejmad1
Level 2

Re: 403 Forbidden

The issue was resolved with the solution provided