# Proxy Endpoint HTTP allow method properties not working

**URL:** <https://discuss.google.dev/t/proxy-endpoint-http-allow-method-properties-not-working/14253>\
**Category:** Apigee\
**Tags:** api-runtime\
**Created:** [January 26, 2016, 10:42pm UTC](https://discuss.google.dev/t/proxy-endpoint-http-allow-method-properties-not-working/14253 "2016-01-26T22:42:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous8](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@anonymous8](https://discuss.google.dev/u/anonymous8)\
**Post date:** [January 26, 2016, 10:42pm UTC](https://discuss.google.dev/t/proxy-endpoint-http-allow-method-properties-not-working/14253/1 "2016-01-26T22:42:14Z")

</div>

I have following proxy endpoint properties set

/v1/data

true

false

false

false

false

false

false

false

default

But no luck, its allowing all methods. I see in trace session that these properties are there, so it is deployed.

Thanks, Sanjay

---

<div class="post-metadata">

**Author:** ![omidt](https://d3byx8b92xw3lq.cloudfront.net/user_avatar/discuss.google.dev/omidt/32/40885_2.png) [@omidt](https://discuss.google.dev/u/omidt)\
**Post date:** [January 26, 2016, 10:52pm UTC](https://discuss.google.dev/t/proxy-endpoint-http-allow-method-properties-not-working/14253/2 "2016-01-26T22:52:39Z")

</div>

I’ve not had the time to verify the behaviour of setting those properties, but there may be an alternative solution for what you’re trying to achieve…

What about raising a fault based on the request method? You could do this as the first step.

```auto
<PreFlow name="PreFlow">
        <Request>
            <Step>
                <Condition>request.verb != "GET"</Condition>
                <Name>fault-method-not-allowed</Name>
            </Step>
	...

```

Where “method-not-allowed-fault” is a RaiseFault policy that could look like this:

```auto
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<RaiseFault enabled="true" continueOnError="false" async="false" name="fault-method-not-allowed">
	<DisplayName>fault-method-not-allowed</DisplayName>
	<FaultResponse>
		<Set>
			<StatusCode>405</StatusCode>
			<Headers>
				<Header name="Allow">GET</Header>
			</Headers>
		</Set>
	</FaultResponse>    
	<IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables>
</RaiseFault>

```

---

<div class="post-metadata">

**Author:** ![anilsr](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@anilsr](https://discuss.google.dev/u/anilsr)\
**Post date:** [January 27, 2016, 4:12am UTC](https://discuss.google.dev/t/proxy-endpoint-http-allow-method-properties-not-working/14253/3 "2016-01-27T04:12:09Z")

</div>

Dear [@skammili](https://community.apigee.com/users/3604/skammili.html) , Welcome to Apigee Community 🙂 Thank you for highlighting same. I can able to reproduce same, clearly it looks like a bug. We will get back to you and keep you updated.

---

<div class="post-metadata">

**Author:** ![anonymous8](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@anonymous8](https://discuss.google.dev/u/anonymous8)\
**Post date:** [January 27, 2016, 12:00pm UTC](https://discuss.google.dev/t/proxy-endpoint-http-allow-method-properties-not-working/14253/4 "2016-01-27T12:00:13Z")

</div>

HTTP properties “allow.http.method.” is not supported in the recent releases. We have to handle through “RaiseFault” policy in the message flow, as suggested by Omid.

---

<div class="post-metadata">

**Author:** ![anilsr](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@anilsr](https://discuss.google.dev/u/anilsr)\
**Post date:** [January 27, 2016, 12:16pm UTC](https://discuss.google.dev/t/proxy-endpoint-http-allow-method-properties-not-working/14253/5 "2016-01-27T12:16:33Z")

</div>

[@docs](https://community.apigee.com/users/809/docs4g.html) , We need to update documentation & remove the references. Thank you 🙂

---

<div class="post-metadata">

**Author:** ![jonesfloyd](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@jonesfloyd](https://discuss.google.dev/u/jonesfloyd)\
**Post date:** [January 27, 2016, 3:05pm UTC](https://discuss.google.dev/t/proxy-endpoint-http-allow-method-properties-not-working/14253/6 "2016-01-27T15:05:39Z")

</div>

Removed from the docs. Thanks for the info.

---

<div class="post-metadata">

**Author:** ![anonymous8](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@anonymous8](https://discuss.google.dev/u/anonymous8)\
**Post date:** [January 27, 2016, 5:41pm UTC](https://discuss.google.dev/t/proxy-endpoint-http-allow-method-properties-not-working/14253/7 "2016-01-27T17:41:39Z")

</div>

Thank you Omid for the aleternate solution.

---

<div class="post-metadata">

**Author:** ![anilsr](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@anilsr](https://discuss.google.dev/u/anilsr)\
**Post date:** [January 28, 2016, 4:06am UTC](https://discuss.google.dev/t/proxy-endpoint-http-allow-method-properties-not-working/14253/8 "2016-01-28T04:06:14Z")

</div>

Great, Thank you [@Floyd Jones](https://community.apigee.com/users/202/fjonesapigeecom.html). That was super quick !
