Hi All
A UI/UX designer by trade so I’m a bit new to APIs… Hopefully someone can help me here
In Mockaroo, I have a Schema:
I want to get a API that allows me to query for example just New items (from the State column. My API Handler is as follows:
schema “ServiceNow”
generate 10
set “State”, State: params[‘value’]
Using the route: /servicenow.json/State=New
But I get the following error message
{“error”:“undefined method `State=’ for #\u003cColumn:0x00007ff53a0f4858\u003e\nDid you mean? states=\n states\n states?”}
Can anyone help please?
Thanks
Stewart