top of page

Questions & Answers

Public·51 members

I dont understand - AIO Tests REST API ​call using multipart form-data to upload file

Hello

Could you please share the detailed steps on how to update AIO test results by using automation execution

45 Views
Niharika
Niharika
Jul 01, 2024

@arun thakur The media type multipart/form-data is the preferred media type for request payloads that contain files, non-ASCII, and binary data. And hence all file related APIs in AIO are multipart form data. All REST client libraries have detailed documentations to support this format.

eg. Axios in Javascript. Resteasy, Jersey in Java. Requests in Python.

REST API calls can be made from any framework in the after hooks.


HTH.


Regards, N

bottom of page