according to your curl example, Authorization Basic is used, also the filename is not surrounded with double quotes there… and I would try the PostFile block together with the image
& that docs doesn’t elaborate more.you can found soo much resources on google.but they are in php. & i haven’t much knowledge about file upload.i tried without quotes. But same result.
it looks like you did not follow all suggestions… especially it looks like you ignored using the PostFile method suggestion… and if you try something new, then it would help to post a screenshot of your updated blocks…
finally we have an API documentation…
can you explain, what you are trying to do? creating a media item?
as a start, you could first try the LIST option, which should be simple to implement GET /wp/v2/media
like this you can test, if your Authorization headers are correct…
and if you got that running, then continue with your other task…
and concerning Authentication, I would follow this
i can get without authentication.i need post solution.to get i didn’t need to implement disposition in header but when i have to post then i have to use it
Could it be something with the “auth by jwt” you are using? Mine works with “application password” which now builtin inside wordpress. I never used jwt for WP REST API.