SOLVED

REST API giving no answer, need help!

Go to solution
Thomas_Goirand
Level 2

REST API giving no answer, need help!

Hi there,

I just started to work on Marketo's REST API and for now I just don't get why the API is not sending any answer when trying to find a lead using GET method. That might be a simple typo or something, but I couldn't find out the reason. Thanks in advance for your help guys!

As you can see on the screenshot, i just get a 200 OK response from Marketo, no IDs, no fields.

marketo_api.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
Steven_Vanderb3
Marketo Employee
7 REPLIES 7
SanfordWhiteman
Level 10 - Community Moderator

Re: REST API giving no answer, need help!

URLs (all URLs, this is not a Marketo thing) are case-sensitive.

Some servers deceive you by doing a case-insensitive match (on Windows in particular) but URLs themselves must preserve case.

Thomas_Goirand
Level 2

Re: REST API giving no answer, need help!

Hi Sandford, thanks for your quick reply.

I am not sure to understand, are you sure you are on the right thread?

Best,

SanfordWhiteman
Level 10 - Community Moderator

Re: REST API giving no answer, need help!

Compare the case of your URL path to the correct case in the docs.

Thomas_Goirand
Level 2

Re: REST API giving no answer, need help!

Did it already, it is the exact copy/paste from it...

Steven_Vanderb3
Marketo Employee

Re: REST API giving no answer, need help!

Thomas_Goirand
Level 2

Re: REST API giving no answer, need help!

Thank you so much!

SanfordWhiteman
Level 10 - Community Moderator

Re: REST API giving no answer, need help!

Exactly as I said. The docs don't use the capitalization in your screenshot.