GraphHopper API - can't compile

Hello guys,

I am trying to use the GraphHopper Route Optimization API but I think I have an issue with the HTTP request. Maybe this API doesn’t work on Bubble ?

I don’t understand where is the issue and I really need your help guys please !

Here is the documentation of this API : Documentation - GraphHopper Directions API

Normally, the URL I have to put for my POST call is :
https://graphhopper.com/api/1/vrp?key=YOUR_CREATED_API_KEY ( with my API Key obviously)

And the code, which is correct ( because I tried it in the editor of GraphHopper) is :
{
“vehicles”: [
{
“vehicle_id”: “vehicle_1”,
“start_address”: {
“location_id”: “Paris 1”,
“lon”: 2.3488,
“lat”: 48.8534
},
“max_jobs”: 1
},
{
“vehicle_id”: “vehicle_2”,
“start_address”: {
“location_id”: “Paris 2”,
“lon”: 2.3522,
“lat”: 48.8566
},
“max_jobs”: 1
},
{
“vehicle_id”: “vehicle_3”,
“start_address”: {
“location_id”: “Paris 3”,
“lon”: 2.336,
“lat”: 48.8659
},
“max_jobs”: 1
}
],
“services”: [
{
“id”: “stop_1”,
“name”: “Delivery Stop 1”,
“address”: {
“location_id”: “Paris 4”,
“lon”: 2.3521,
“lat”: 48.8615
}
},
{
“id”: “stop_2”,
“name”: “Delivery Stop 2”,
“address”: {
“location_id”: “Paris 5”,
“lon”: 2.347,
“lat”: 48.852
}
}
]
}