I am trying to upload image from api to web folder using webclient. I have byte array of image and I provide folder path like http://example.com/content/images/ but in result I am getting 405 error (Method not allowed).
The solution I have tried are 1. remove WebDEV module and handler in webconfig of both api and web 2. provide credential of plesk to webclient 3. create virtual directory and change upload path to that 4. use httpclient class and use postasjsonasync
but all in vain.
Kindly suggest me with better solution