--
You received this message because you are subscribed to a topic in the Google Groups "GS1 Digital Link Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gs1-digital-link-developers/TSCLXPe0wyI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gs1-digital-link-developers+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/gs1-digital-link-developers/f0fd57e0-0766-4126-8747-8c61cb53c63bn%40googlegroups.com.
|
|
On Mon, Jan 30, 2023 at 11:21:15, John Doherty <john@orcascan.com <mailto:john@orcascan.com> > wrote:
Hello all, I've noticed that if I issue a request to the resolver for a registered GTIN, i get the expected response:
curl --location --request GET 'https://id.gs1.org/01/05060526860217?linkType=all <https://id.gs1.org/01/05060526860217?linkType=all> ' \
--header 'Accept: application/json'But, if I issue a request for a GTIN I know is not registered, I get a 200 with a HTML body and not a 404 JSON response.
curl --location --request GET 'https://id.gs1.org/01/012000007897?linkType=all <https://id.gs1.org/01/012000007897?linkType=all> ' \
--header 'Accept: application/json'Which means integrating systems would need to hack around this to returning a meaningful error/next steps to users.
How are others managing this use case?
Thanks,
John
--
You received this message because you are subscribed to a topic in the Google Groups "GS1 Digital Link Developers" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/gs1-digital-link-developers/TSCLXPe0wyI/unsubscribe <https://groups.google.com/d/topic/gs1-digital-link-developers/TSCLXPe0wyI/unsubscribe> . To unsubscribe from this group and all its topics, send an email to gs1-digital-link-developers+unsubscribe@googlegroups.com <mailto:gs1-digital-link-developers+unsubscribe@googlegroups.com> . To view this discussion on the web, visit https://groups.google.com/d/msgid/gs1-digital-link-developers/f0fd57e0-0766-4126-8747-8c61cb53c63bn%40googlegroups.com <https://groups.google.com/d/msgid/gs1-digital-link-developers/f0fd57e0-0766-4126-8747-8c61cb53c63bn%40googlegroups.com?utm_medium=email&utm_source=footer> .--
You received this message because you are subscribed to the Google Groups "GS1 Digital Link Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to gs1-digital-link-developers+unsubscribe@googlegroups.com <mailto:gs1-digital-link-developers+unsubscribe@googlegroups.com> . To view this discussion on the web, visit https://groups.google.com/d/msgid/gs1-digital-link-developers/ldiqsjla.8cb1662f-92c0-471f-b832-8d35c22adf29%40we.are.superhuman.com <https://groups.google.com/d/msgid/gs1-digital-link-developers/ldiqsjla.8cb1662f-92c0-471f-b832-8d35c22adf29%40we.are.superhuman.com?utm_medium=email&utm_source=footer> .