Downloading file from external api in laravel

231 views Asked by At

I am new to using APIs on laravel. I read through PHP GuzzleHttp, but i couldnt comprehend how to corelate it with ReportingCloud. I am trying to use ReportingCloud Docs from https://docs.reporting.cloud/docs/chapter/introduction/whatisreportingcloud . Having followed the documentation, on https://docs.reporting.cloud/docs/chapter/introduction/first page shows generation a pdf version of invoice. i still dont get the code behind downloading of the pdf file. I tried checking if my template file exist which shows postive. i try using https://docs.reporting.cloud/docs/endpoint/document/merge on merging data to your template and it works fine. my problem is how to get those files downloaded on my computer

0

There are 0 answers