# API Call with HTTP Trace Method

**URL:** <https://discuss.google.dev/t/api-call-with-http-trace-method/9027>\
**Category:** Apigee\
**Tags:** api-runtime\
**Created:** [August 18, 2016, 7:17am UTC](https://discuss.google.dev/t/api-call-with-http-trace-method/9027 "2016-08-18T07:17:50Z")\
**Posts on this page:** 3\
**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:** [August 18, 2016, 7:17am UTC](https://discuss.google.dev/t/api-call-with-http-trace-method/9027/1 "2016-08-18T07:17:50Z")

</div>

We have a requirement that resource should allow only valid HTTP methods. If resource is supported for only GET and resource is called using other HTTP method like PUT, POST, TRACE etc.

API proxy should return the customized error message. We have implemented it and it works fine for PUT, POST. But for Trace method, it does not seem to be working fine. I started the trace session for API proxy and found that API call is not captured with Trace method.

---

<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:** [August 18, 2016, 10:56am UTC](https://discuss.google.dev/t/api-call-with-http-trace-method/9027/2 "2016-08-18T10:56:37Z")

</div>

Hello [@Varun Singh](https://community.apigee.com/users/1581/varun-singh16.html),

I think, TRACE is not allowed, as per the historical article [here](https://community.apigee.com/questions/9885/what-are-all-the-http-methods-that-the-router-forw.html)

---

<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:** [August 18, 2016, 10:57am UTC](https://discuss.google.dev/t/api-call-with-http-trace-method/9027/3 "2016-08-18T10:57:36Z")

</div>

Thanks [@MEGHDEEP BASU](https://community.apigee.com/users/2874/mbasu.html). That help. 🙂
