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?
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;
};
};