Delete Request

1 view
Skip to first unread message

Jack Sharkey

unread,
Jan 3, 2018, 12:05:28 PM1/3/18
to jsOAuth
Is there a way to use the DELETE request with the JSOauth credentials? I'm currently using oauth.postJSON however I need a way to retract this. Thanks.

Rob Griffiths

unread,
Jan 5, 2018, 2:38:09 AM1/5/18
to jso...@googlegroups.com
Jack,

Depending on the version you’re using you can call `.request()` directly.

http://bytespider.github.io/jsOAuth/api-reference/#request

If I recall DELETE doesn’t typically have a body, so will look similar to `.get()`

On 3 Jan 2018, 17:05 +0000, Jack Sharkey <sharke...@gmail.com>, wrote:
Is there a way to use the DELETE request with the JSOauth credentials? I'm currently using oauth.postJSON however I need a way to retract this. Thanks.

--
You received this message because you are subscribed to the Google Groups "jsOAuth" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jsoauth+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages