help with bulk contact import using curl

Moderator: areski

help with bulk contact import using curl

Postby Digi » Thu May 23, 2013 2:55 pm

I am using the bulkcontact import api using curl.
curl -u user:password --dump-header - -H "Content-Type:application/json" -X POST --data '{"phonebook_id": "1", "phoneno_list" : "1111111111,2222222222"}' http://localhost:8008/api/v1/bulkcontact/
i am using my actual user and password (not shown) and have tried ports 8000,80 and 8008.
This is an internal server error
I am receiving an error during the import as below
Does anyone have any experience with this?
this is the error
HTTP/1.1 500 Internal Server Error
Date: Thu, 23 May 2013 14:04:03 GMT
Content-Type: text/html
Content-Length: 134
Connection: keep-alive

<title>Internal Server Error</title>
<h1>Internal Server Error</h1>

Posts: 2
Joined: Wed Feb 20, 2013 7:29 pm

Return to Request

Who is online

Users browsing this forum: No registered users and 1 guest