Announcement

Collapse
No announcement yet.

Espo CRM API services

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Espo CRM API services

    Espo CRM API services which insert the data into tables returns the forbidden errors - 403.
    Get services are working but post services are not working.Post services are works well in local host but its caused error in server.

  • #2
    Hello.
    How do you try to insert the data in the DB tables? By UI filling some fields, etc.?
    Check please the EspoCRM error log to get more information about this error (EspoCRM/data/logs).
    Last edited by Maximus; 07-04-2019, 10:22 AM.

    Comment


    • ganesanjc
      ganesanjc commented
      Editing a comment
      Through post API

      $client = new EspoApiClient('https://your-espocrm-site');
      $client->setApiKey('API_KEY');
      $response = $client->request('POST', 'TestForm',
      ['name' => $_POST['name']
      ]);
      echo json_encode($response);
      Last edited by ganesanjc; 07-04-2019, 11:37 AM.
Working...
X