Hi I am new to apigee and xml in general.
Is there any use for XML tag name attributes? For example
<RouteRule name="NoRoute">
<Condition>request.verb == "OPTIONS" AND request.header.origin != null AND request.header.Access-Control-Request-Method != null</Condition>
</RouteRule>
<Flow name="OptionsPreFlight">
<Request/>
<Response>
<Step>
<Name>add-cors</Name>
</Step>
</Response>
<Condition>request.verb == "OPTIONS" AND request.header.origin != null AND request.header.Access-Control-Request-Method != null</Condition>
</Flow>
I got this snippet of code from beginner tutorials. Does the RouteRule tag name have to be “NoRoute” and the name attribute of Flow have be “OptionsPreFlight”??
I tried changing them and it still seems to be working okay. What is the name attribute for?
Thank you