forked from arnaud-lb/oauth2-php
-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Description
Is there a particular reason why makeRequest()
of OAuth2Client
only allows GET and POST HTTP methods?
A typical REST API involves PUT, PATCH, and DELETE which are impossible to use with the client at this time.
In the code i see a comment // Method override as we always do a POST. but not quite sure why is it that "we ALWAYS do a POST".
In our current project we will be overriding makeRequest()
method to support PUT, PATCH, and DELETE, if you are interested I can submit a PR to add such support here as well.
Metadata
Metadata
Assignees
Labels
No labels