Face Mask Detection API

Certified Senior Developer

We are trying to connect Face Mask Detection API by passing image and we are not able to get the desired result, We tried hitting the same API via postman which works fine but we are not sure what wrong we are doing while doing it from appian.

API-rapidapi.com/.../face-mask-detection

Appian Config:

API config-

  Discussion posts and replies are publicly visible

Parents
  • Default parameters are added to the HTTP request automatically by Appian, so there is no need to provide Content-Type explicitly in Header parameters. I think the boundary parameter provided by you in the multipart/form-data is trying to override the one set by Appian by default and is resulting in error.

    If you check the HTTP request tab after Test Request you'll see Content-Type added as default.

Reply
  • Default parameters are added to the HTTP request automatically by Appian, so there is no need to provide Content-Type explicitly in Header parameters. I think the boundary parameter provided by you in the multipart/form-data is trying to override the one set by Appian by default and is resulting in error.

    If you check the HTTP request tab after Test Request you'll see Content-Type added as default.

Children