Wordpress upload multiple image using custom endpoint rest api (ionic as enduser)


#1

I want to upload multiple image to wordpress using ionic(angularjs).With custom endpoint rest api.

I tryed using ionic file transfer but its not working.The api endpoint was “example.com/wp-json/wc/v2/media” it says “Sorry, you are not allowed to create posts as this user”

Thats why i want use custom endpoint restapi and file path save into usermeta data

Any solution ???Or Advise