I have CiviCRM 4.7 installed on drupal 7.38. I Found it necessary to modify the url in civicrm.settings.php file as suggested here:
After this modification, my extension was successfully created and I enabled it. Also I have added a page and can already pull some data from the database using the CiviCRM api and display it on the page I added. I now intend to add an api function for an already existing entity, FinancialItem.
When I run the command(in the terminal):
civix generate:api FinancialItem Create
Any suggestions as to what I should do to fix this?