SOLVED

REST API giving no answer, need help!

Go to solution
Highlighted

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
Highlighted
Marketo Employee
7 REPLIES 7
Highlighted
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.

Highlighted

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,

Highlighted
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.

Highlighted

Re: REST API giving no answer, need help!

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

Highlighted
Marketo Employee
Highlighted

Re: REST API giving no answer, need help!

Thank you so much!

Highlighted
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.