# Feature request: map appropriate HTTP request methods to update calls

**URL:** <https://forum.dfinity.org/t/feature-request-map-appropriate-http-request-methods-to-update-calls/4303>\
**Category:** Developers\
**Created:** [May 25, 2021, 12:58am UTC](https://forum.dfinity.org/t/feature-request-map-appropriate-http-request-methods-to-update-calls/4303 "2021-05-25T00:58:52Z")\
**Posts on this page:** 1\
**Showing post:** 28

<div class="post-metadata">

**Author:** ![HelloRickey](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/hellorickey/32/2020_2.png) [@HelloRickey](https://forum.dfinity.org/u/HelloRickey)\
**Post date:** [March 15, 2022, 11:12am UTC](https://forum.dfinity.org/t/feature-request-map-appropriate-http-request-methods-to-update-calls/4303/28 "2022-03-15T11:12:08Z")

</div>

Hey @paulyoung,I see it has been merged into icx-proxy. But I use the following method to deploy on the main network, but it doesn’t work. Do I need to do anything else? Or must it only be used in icx-proxy?

```auto
  public query func http_request(request : HttpRequest) : async HttpResponse {
    {
      status_code = 200;
      headers = [];
      body = Text.encodeUtf8("Response to " # request.method # " request (query)");
      streaming_strategy = null;
    };
  };

  public shared func http_request_update(request : HttpRequest) : async HttpResponse {
    {
      status_code = 200;
      headers = [];
      body = Text.encodeUtf8("Response to post" # request.method # " request (update)");
      streaming_strategy = null;
    };
  };

```

---

_[View the full topic](https://forum.dfinity.org/t/feature-request-map-appropriate-http-request-methods-to-update-calls/4303)._
