Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

89
Views
React Client post request uploading image?

I am trying to upload an image from my react client to a backend api server, which has an endpoint parameters defined as:

file: string($base64) (formdata)

open api file example shows : Example : U3dhZ2dlciByb2Nrcw==

I'm using OpenApi TypeScript generator CLI which generates all the endpoint functions for me, and its expecting the endpoint file to be a string?

Is the open api generator CLI wrong? Am I suppose to send FormData as payload?

or am I suppose to send string base64 as payload?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!