<div dir="ltr">Yes PHP is always to blame :)</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 13, 2018 at 1:55 PM, Steven Schveighoffer via Digitalmars-d-announce <span dir="ltr"><<a href="mailto:digitalmars-d-announce@puremagic.com" target="_blank">digitalmars-d-announce@puremagic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 3/13/18 6:22 AM, Daniel Kozak wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
On contrary I really hate that :D.<br>
Because of this:<br>
<br>
HTTP methodRecognized prefixes<br>
GETget, query<br>
PUTset, put<br>
POSTadd, create, post<br>
DELETEremove, erase, delete<br></span>
PATCHupdate, patch<span class=""><br>
<br>
I am calling vibed from PHP and I need to tweak my curl for every request baceuse of this :D<br>
</span></blockquote>
<br>
That's not what I was talking about, I was talking about how the parameters are automatically parsed passed to the web functions. It doesn't affect how the routes are called externally, just how the parameters are dealt with.<br>
<br>
Note, you can override the method for any/all routes:<br>
<br>
class WebInterface<br>
{<br>
   @method(HTTPMethod.GET):<br>
    ... // all methods are now get<br>
}<br>
<br>
I think perhaps the root cause of your problem is using PHP ;)<br>
<br>
-Steve<br>
</blockquote></div><br></div>