# Connect to faceanalyzer api and write emotions into label

**URL:** https://community.thunkable.com/t/connect-to-faceanalyzer-api-and-write-emotions-into-label/3001816
**Category:** Web API's
**Created:** [May 14, 2024, 6:30am UTC](https://community.thunkable.com/t/connect-to-faceanalyzer-api-and-write-emotions-into-label/3001816 "2024-05-14T06:30:53Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dev.simon.jaeggiwo6y](https://avatars.discourse-cdn.com/v4/letter/d/ebca7d/32.png) [@dev.simon.jaeggiwo6y](https://community.thunkable.com/u/dev.simon.jaeggiwo6y)
#### Post date: [May 14, 2024, 6:30am UTC](https://community.thunkable.com/t/connect-to-faceanalyzer-api-and-write-emotions-into-label/3001816/1 "2024-05-14T06:30:53Z")

</div>

Hi  
For some reason I can’t get the following API to work with thunkable:

> **[FaceAnalyzer AI API Documentation (ai-engine-ai-engine-default) | RapidAPI](https://rapidapi.com/ai-engine-ai-engine-default/api/faceanalyzer-ai)**
>
> Advanced facial analysis for face detection, age estimation, emotion analysis, celebrities identification, face comparison, face re-identification and more.

I don’t understand how I need to set the parameters correctly.  
I tried the following setup:

```auto
URL: `https://faceanalyzer-ai.p.rapidapi.com/faceanalysis`
Headers:
  * Property: `X-RapidAPI-Host`, Value: `faceanalyzer-ai.p.rapidapi.com`
  * Property: `X-RapidAPI-Key`, Value: 'myAPIKey`
  * Property: `content-type`, Value: `application/x-www-form-urlencoded`
Body:
  * String: `url=linkToAPictureImTryingToGetTheEmotionsOutOf`

```

I only get a 404 back and don’t really understand what I need to change. Here is the recommended shell call from RapidAPI for reference:

```auto
curl --request POST \
	--url https://faceanalyzer-ai.p.rapidapi.com/faceanalysis \
	--header 'X-RapidAPI-Host: faceanalyzer-ai.p.rapidapi.com' \
	--header 'X-RapidAPI-Key: 'myKey' \
	--header 'content-type: application/x-www-form-urlencoded' \
	--data url=https://picturelink.png

```

Thanks for the help, really appreciate anything.

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [May 14, 2024, 1:39pm UTC](https://community.thunkable.com/t/connect-to-faceanalyzer-api-and-write-emotions-into-label/3001816/2 "2024-05-14T13:39:38Z")

</div>

Does the curl command work for you?

If so, post a screenshot of your blocks and someone can let you know what’s not correct.
