Dear all, Simon refers to the Python RDF/Graphql ecosystem . Using JS/Meteor/urql/React for the graph ql endpoint access still gives me CORS messages. I know we have to apply CORS. Knowing CORS has a server and a client side we can only influence the client side. The server side EDG/Tomcat and TB Composer ME are given; what are the design choises for the EDG servers according to CORS?
btw I found https://enable-cors.org/server_tomcat.html , is this applicable to EDG Kinde regards, Richard. On Thursday, August 6, 2020 at 12:38:41 AM UTC+2 simon...@surroundaustralia.com wrote: > Hi Richard and Pat > > Weve just built an extensive graphql API for the EDG backend including > with integration to other Google cloud nlp machine services using python > and it's graphene library. > > Cors was accommodated easily. > > Worth consideration. > > Cheers > > Simon > > On Thu, 6 Aug 2020, 5:59 am Richard Dijkstra, <richarddi...@gmail.com> > wrote: > >> Hi Pat, >> >> Thank you for this possitive answer. We will continue to build this great >> App with EDG as the backend. >> >> KInd regards, >> Richard >> >> >> On Wednesday, August 5, 2020 at 9:51:02 PM UTC+2, Pat Doyle wrote: >>> >>> Richard, >>> >>> We have used both(first Apollo, now urql) internally to build react >>> components using our endpoint, so yes, it should be supported. >>> >>> Hope it helps, >>> Pat >>> >>> On Wed, Aug 5, 2020 at 3:39 PM Richard Dijkstra <richarddi...@gmail.com> >>> wrote: >>> >>>> Good evening, >>>> >>>> We are planning app development with EDG as it's backend. >>>> Using simple POST request without a graphql client works fine. >>>> >>>> >>>> But we have tried both Apollo and Urql with React. In both cases we get >>>> CORS errors. >>>> >>>> Reason: CORS header 'Access-Control-Allow-Origin' missing >>>> >>>> Before we wasted more time on an unsupported feature: Is this >>>> architecture (using a GraphQL client) supported by the external EDG >>>> GraphQL >>>> API? >>>> >>>> Kind regards, >>>> Richard >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "TopBraid Suite Users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to topbrai...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/topbraid-users/3adc51f9-1b9b-4181-b4bf-62c75b48c877o%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/topbraid-users/3adc51f9-1b9b-4181-b4bf-62c75b48c877o%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "TopBraid Suite Users" group. >> > To unsubscribe from this group and stop receiving emails from it, send an >> email to topbraid-user...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/topbraid-users/011c6fa2-3807-4be6-b558-599cb7a75940o%40googlegroups.com >> >> <https://groups.google.com/d/msgid/topbraid-users/011c6fa2-3807-4be6-b558-599cb7a75940o%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/34ec2437-92ff-4f4d-b5bc-de9c7f278127n%40googlegroups.com.