REST API giving no answer, need help! | Community
Skip to main content
Thomas_Goirand
Level 2
August 31, 2018
Solved

REST API giving no answer, need help!

  • August 31, 2018
  • 1 reply
  • 4254 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Steven_Vanderb3

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


Should be

https://954-skt-940.mktorest.com/rest/v1/leads.json

not

https://954-skt-940.mktorest.com/rest/V1/Leads.json

1 reply

SanfordWhiteman
Level 10
August 31, 2018

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
August 31, 2018

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
August 31, 2018

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