> Am 20.01.2020 um 09:17 schrieb Maximilian Tyrtania <li...@contactking.de>:
> 
> I 'm creating a Zoom-API-Wrapper class and I'm using the CURLSMBS class for 
> the actual call and it's coming along quite well. There is one call however I 
> can't seem to get to work (I always get error 405 method not allowed):
> This is the contructor of my custom CURLSMBS-class. I don't believe there is 
> anything wrong with it as all other calls (create /delete User) succeed.
> 
> Public Sub constructor()
>  headerArray.Append "Accept-Encoding: gzip, deflate"

Better use option:
c.OptionAcceptEncoding = "gzip"

This way CURL automatically decompresses it for you.

>  Me.OptionCustomRequest = "PATCH" //this might be the culprit as the error 
> says Allow: GET, POST

Okay.

>  Me.OptionPostFields = fields

Okay. So a POST labeled PATCH

>  Me.OptionPost = True

Not needed.

>  Var header As String=Me.HeaderData//contains 

What is DebugData?

I would like to know whether you send POST or PATCH.

Sincerely
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/



_______________________________________________
mbsplugins@monkeybreadsoftware.info mailing list
%(list_address)s
https://ml-cgn08.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to