Fix WordPress API Call

Job ID: 39553316

Budget: $30 – $250 CAD

I need an experienced WordPress developer to fix an API call in my theme's functions.php file. Currently, the cURL call works fine, but it's returning no body info.

Requirements:
- The API call is made from the theme's functions.php file.
- The expected response format is JSON.
- The JSON response should include trips inventory info.
- Creating a error log file when there is problems

Ideal Skills and Experience:
- Strong knowledge of WordPress theme development.
- Proficiency in PHP and handling API calls.
- Experience with JSON data structures and parsing.
- Familiarity with debugging WordPress functions and cURL requests.

Please provide a brief overview of your relevant experience and approach to this problem.
Related categories: PHP JavaScript WordPress MySQL HTML