CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • REST-API and Standalone
Pages: [1]

Author Topic: REST-API and Standalone  (Read 1219 times)

Tiggr

  • I post occasionally
  • **
  • Posts: 38
  • Karma: 1
    • Rodgauer Workshop
  • CiviCRM version: 4.7.beta3
  • CMS version: Drupal 7
REST-API and Standalone
January 08, 2010, 12:17:21 pm
Hi!

How may I authentificate on the rest-api when using the standalone version of CiviCRM?

Bye
Marcus (aka Tiggr)

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: REST-API and Standalone
January 08, 2010, 02:07:58 pm

i dont think we've addressed this one as yet. its something the rest api team has on its list. if you can help with a solution that would be great. the forums have some discussion on this. wes morgan from Public Interest network, lead on standalone might have some more ideas also

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Tiggr

  • I post occasionally
  • **
  • Posts: 38
  • Karma: 1
    • Rodgauer Workshop
  • CiviCRM version: 4.7.beta3
  • CMS version: Drupal 7
Re: REST-API and Standalone
January 08, 2010, 04:48:57 pm
Hi again!

After doing some research in forum and source code, I found: It work's out of the box with version 3.1B4!

I just have to set a api_key inside the database for the user, and can then call rest functions like this:

Code: [Select]
http://<my.domain>/extern/rest.php?q=civicrm/contact/search&key=<site key>&api_key=<users api_key>
Great!

Bye
Marcus (aka Tiggr)

jrburcher

  • Guest
Re: REST-API and Standalone
April 25, 2010, 06:27:29 pm
Thank you so much that has solved my issue!

WOOOOOHOOOO!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • REST-API and Standalone

This forum was archived on 2017-11-26.