Is it a Web URL? local file? Multipart? Anyone know?
Community moderators have prevented the ability to post new answers.
Afaik, filename and size are part of the url query, and the request body contains the binary image data without any further formatting.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't have an example, but I suggest you do the following: 1. In the browser of your choice open your own profile in a running JIRA. 2. Open the web-developer tools. 3. Open the network tab. 4. In your JIRA profile: add a new avatar. 5. In the network tab you will see a POST request to a URL containing "temporary". There you can see how JIRA itself is calling the REST resource.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I did not know about this tool, thanks for pointing it out. However, if I add an avatar from my profile, It uses rest/api/2/user/avatar/temporary. Also, it doesn't show the request payload for the image upload.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.