We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi all, hoping somebody might be able to point me in the direction as im struggling to find a way to upload a json file to a WordPress site. Im currently trying to post the file to the "/wp-json/wp/v2/media/" location using the HTTP-Requests-for-Processing library but im getting back some errors and to be honest im not really sure what im doing any more lol!
Was hoping someone might have some ideas as to the best method of uploading a json file to the wordpress uploads location so i can hopefully use the json with a sketch that will run on the site.
I will post an example of the code i have been trying :)