APIs & Integrations

Not applicable

Problems connecting to your api with codeigniter

Good morning
I'm testing your api for a web project using codeigniter, but so far I have not been able to run at least the https requests of your API-REST, it tells me some errors as I do not have permissions and even tell me that the method or url I try to consult does not exist.
The truth urges me to implement your tool in the project, I hope you can help me.

Thank you in advance.
Greetings

0 Upvotes
1 Reply 1
cbarley
HubSpot Alumni
HubSpot Alumni

Problems connecting to your api with codeigniter

Hi @Tester, Happy to help. To troubleshoot effectively, I'll need a bit more information. Would you share:

  1. The full request URL you used, including the method.
  2. The raw request body, including the headers.
  3. The full error you received from HubSpot, including the status code.

This is likely an issue with the implementation of the code hitting the endpoint, rather than the endpoints themselves since our API's our fully operational at the moment. This seems like a great doc to get you started using Codeigniter and RESTful APIs if you're stuck: https://code.tutsplus.com/tutorials/working-with-restful-services-in-codeigniter--net-8814

0 Upvotes