I require your help because, I want execute a FPDF php file from my local files in Angular 8 directory,
My file I search to execute is pdf.php, this file is inside the directory make-bulettin in my asset files
For now I try to execute this file with a POST request made form a service in Angular, but it's not working, I get a 404 for all the .php in this directory, (and this is the good name), but not for picture example, weird...
My question is: How can I execute this FPDF script in PHP and see my PDF with Angular 8 ?
I try to add also this header but same...
Header to the POST:
headers: {
   'Content-Type': 'application/json',
   'Access-Control-Allow-Origin': '*',
}
My services:
public makeBulletin(ville: string, pollution: string, date: string) {
    return this.http.request("POST", "http://localhost:4200/assets/make-bulletin/pdf.php", {
      params: {
        Ville: ville,
        Pollution: pollution,
        Date: date,
      },
    })
  }
My .ts for execute the script:
public onSubmit() {
    console.log("toto")
    this.bs.makeBulletin("Lyon", "Atmospherique", "2019-06-01").subscribe(
      resp => {
        // How print PDF to the user after get the PDF ?
      },
      error => {
       // get error
      }
    )
PS: The PHP file work very well, and don't have spelling error, because I just import it form a other OLD website, where it working very well.
Thanks in advance