When searching online I have seen multiple answers to this question and I wondered if anyone could tell me the correct way? php.ini? cpanel? Drupal configuration? Apologies for such as basic question but I'm learning. Thanks!
I have created a Rest API to create a user after success full user creation created CSRF token for the further user access. created csrf token using below core functions. using get() - function i am able to get a csrf token.
public function get($value = '') {
I wanna upload a image in an Api service when i upload them using postman got a below error - need to enable/add multipart/form-data in server accept area
"415 - Unsupported Media Type" - uploaded under form-data