Get-API-App / Issue-Tracker

Issue Tracker of Get API app
https://getapi.io
MIT License
39 stars 0 forks source link

How to use multiparts or file #64

Open HenryDashwood opened 4 weeks ago

HenryDashwood commented 4 weeks ago

Hello, perhaps I'm missing something obvious. How can I get Multiparts or File to work?

image

I've tried importing my file, setting the Content-Type header in the neighbouring tab etc

I'm trying to do the equivalent of this curl command:

curl -X 'POST' \
  'http://0.0.0.0:8000/settlement-heirachy?parser=llamaparse' \
  -H 'accept: application/json' \
  -H 'Content-Type: multipart/form-data' \
  -F 'file=@barnets_local_plan_development_management_policies.md;type=text/markdown'
NghiaTranUIT commented 4 weeks ago

File and Multipart are not really yet. It's in the roadmap. We're working on it 👍