Ckan_client-PHP icon indicating copy to clipboard operation
Ckan_client-PHP copied to clipboard

post_package_register

Open jfleost opened this issue 12 years ago • 0 comments

Hi

When I want to use your method "post_package_register" with $data , I never can create a package :

  • if $data is a string JSON, I have an eception 400 : bad request
  • if $data is php array with only the title, I have an exception 409 : Conflict (e.g. name already exists) . But there isn't package in ckan with the same title ! $data = Array("title":"truc a la con")

Pershaps it's me don't use post_package_register correctly, pershaps there is a probleme to create a package by Ckan_client.php

Could'you help me ?

Jeff

jfleost avatar Mar 23 '12 15:03 jfleost